Skip to main content
This integration is currently in beta and the exact mapping of fields might still change.
To enable settlement reporting for Trustly (US), please contact your Trustly integration team to enable SFTP access. Settlement reporting needs to be set up with Trustly with the following considerations:
  1. The report must be a Funding (P11KFUN) Report.
  2. The report must be in CSV format to be delivered via SFTP.
  3. Please contact support to get a list of IP addresses for Trustly to whitelist.
After SFTP access has been set up, SFTP credentials are received from Trustly. These credentials are used when enabling settlement reporting in the Trustly (US) connector configuration in the dashboard. To set up these credentials, please go to the “Connections” tab, select the Trustly (US) connector and navigate to the “Settlement” tab. Here settlement reporting can be enabled, after which prompts are provided to fill out the following:
  1. The SFTP username.
  2. The SFTP SSH key.
  3. The SFTP address, which should include a port number. If it is not provided, the port number defaults to 22.
  4. Your Trustly merchant ID.
Below is the mapping of Trustly’s report to the consolidated settlement report. This data is pulled from Trustly’s Funding (P11KFUN) Report’s funding records.
Settlement reportTrustly field?Trustly report
payment_service_transaction_reconciliation_idYesParent Merchant Reference
transaction_idNo-
payment_service_transaction_idYesParent Transaction ID
payment_service_idNo-
payment_service_definition_idNo-
payment_service_display_nameNo-
journal_typeYesCheck journal type mapping table below
raw_journal_typeYesTransaction Type | Transaction Status
payment_service_transaction_created_atYesAlways null
posted_atYesTransaction Updated At
processing_amount_plainYesAlways null
processing_currencyYesAlways null
exchange_rateYesAlways 1
currencyYesAmount Currency
gross_credit_plainYesAmount if Amount > 0 else 0
net_credit_plainYesAmount + Transaction Fee if Amount > 0 else 0
gross_debit_plainYes(-1) * Amount if Amount < 0 else 0
net_debit_plainYes(-1) * (Amount + Transaction Fee) if Amount < 0 else 0
fee_markup_plainYesAlways null
fee_interchange_plainYesAlways null
fee_scheme_plainYesAlways null
fee_total_plainYes(-1) * Transaction Fee
methodYesAlways trustly
raw_methodYesAlways null
schemeYesAlways null
raw_schemeYesAlways null
batchYesBatch ID
report_idNo-
raw_report_idsNo-
ingested_atNo-
descriptionYesAlways null
transaction_external_identifierNo-
transaction_metadataNo-
report_payment_service_idNo-
report_payment_service_definition_idNo-
report_payment_service_display_nameNo-
payment_service_modification_referenceYesTransaction ID
payment_service_refund_reconciliation_idYesAlways null

Journal type mapping

Trustly (US) raw journal typeJournal type
Capture | Completedsettlement
Pay | Completedsettlement
Refund | Completedrefund
any other valueother
Fields marked as not a Trustly field are populated from internal data and not from the imported payment service report.