accountData

Get account balance

Changed on

Retrieves the details of an Account that was authorized for a Transaction. You need only supply the unique transactionId that was returned as part of a bank authorization.

This is a restricted API and must be approved for usage by the Trustly Compliance team.

Note<br />This endpoint retrieves data for the account selected during the Lightbox flow, which is already available once authorization completes. Waiting for the DataReady event is not required to call this endpoint — DataReady signals completion of data retrieval for non-selected accounts and full account activity, not the selected account's balance.

Note for International Financial Institutions<br />In some geographies the Account object in the response for this API may contain additional properties. For example, the taxId returned for accounts from Brazilian institutions.

get/transactions/{transactionId}/payment/paymentProvider/account/balance

Request

  • Base URL
    https://sandbox.trustly.one/api/v1
  • URL
    https://sandbox.trustly.one/api/v1/transactions/{transactionId}/payment/paymentProvider/account/balance
  • Auth
    HTTP basic

Path parameters

transactionIdstring required

Transaction ID retrieved from a Trustly Authorization transaction.

Response

OK

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security HTTPBasic was added to the API

    • info

      api operation id get-transactions-account-balance removed and replaced with accountData_get-transactions-account-balance