GET
/
api
/
bank
/
accounts
/
{accountId}
curl --request GET \
  --url https://api.atoa.me/api/bank/accounts/{accountId} \
  --header 'Authorization: Bearer <token>'
{
  "bankName": "mock-sandbox-v1",
  "accountNumber": "50978130",
  "sortCode": "726908"
}

Use this to retrieve basic information about a linked bank account.

AUTHORIZATION: Bearer <token>

REQUEST SCHEMA

accountId
string
required

ID of the user’s bank account.

RESPONSE

bankName
string

The name of the bank associated with the account. Useful for display purposes or internal logging.

accountNumber
string

The bank account number for which the user has provided consent.

sortCode
string

The sort code linked to the bank account.