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

Use this to fetch basic information about all linked bank accounts for a user.

Authorization

Bearer <token>

Request Body Schema

accountAuthId
string
required

ID of the authorization/consent used to access the user’s bank accounts. This can be obtained from the redirect URL after account linking

Response

Returns an array of bank account objects, each containing:

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.