GET
/
api
/
bank
/
accounts
/
{accountId}
curl --request GET \
  --url https://api.atoa.me/api/bank/accounts/{accountId} \
  --header 'Authorization: Bearer <token>'
{
  "accountId": "7d4c6e07-78e6-4ad4-8b08-7ac183a5e750",
  "bankName": "mock-sandbox-v1",
  "accountNumber": "50978130",
  "sortCode": "726908"
}

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

Authorization

Bearer <token>

Request Body Schema

accountId
string
required

ID of the user’s bank account. This can be obtained from the redirect URL after account linking or by using the Fetch All Accounts API Reference endpoint.

Refer:- Accounts

Response

accountId
string

The ID of the user’s bank account from the bank.

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.