accounts

Verify an account

Allows for verification of most global accounts by passing in an account object containing either bank routing and account numbers or an IBAN.

post/accounts/verify

Query parameters

expandstring

A field in the API response to be expanded in order for more details to be provided (e.g. account.paymentProvider).

Headers

Authorizationstring required

Request body

merchantIdnumber double required

A unique Trustly merchant identifier.

Response

OK

nameOnAccountstring

Account owner name.

namestring required

Account name.

type'-1' | '0' | '1' | '2' required

Financial Institution Account Type:

  • -1: Unknown
  • 0: Other
  • 1: Checking
  • 2: Savings
profile'-1' | '0' | '1' | '2' required

Financial Institution Account Profile:

  • -1: Unknown
  • 0: Other
  • 1: Personal
  • 2: Business
accountNumberstring required

Last 4 digits of the bank account selected

routingNumberstring

Bank Routing Number provided by the selected account.

ibanstring

IBAN (International Bank Account Number) is an internationally agreed system of identifying bank accounts across national borders

tokenstring required

Account token for the returned account. This can be used to identify duplicate bank accounts in your system.

accountIdstring
providerIdstring
verifiedboolean required

If true, the account is verified.

country'US' | 'CA' | 'UK' | 'DE' | 'AU'

2-character ISO code of the country for the bank account that was selected. Currently only the US, CA, UK, DE, and AU are supported.

Changes