Skip to main content
GET
/
bank-accounts
List bank accounts
curl --request GET \
  --url https://{host}/bank-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'x-user-id: <x-user-id>'
[
  {
    "id": "ba_64f0c51e7fb3fc001234abcd",
    "userId": "bank-user-12345",
    "accountName": "Primary Current Account",
    "accountNumber": "GB29NWBK60161331926819",
    "status": "active",
    "bankName": "Acme Bank",
    "holderName": "Jane Doe",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-user-id
string
required

The external user identifier of the acting customer.

Example:

"bank-user-12345"

Response

List of bank accounts

id
string
required
Example:

"ba_64f0c51e7fb3fc001234abcd"

userId
string
required

Identifier of the user who owns this bank account

Example:

"bank-user-12345"

accountName
string
required
Example:

"Primary Current Account"

accountNumber
string
required

IBAN or local account identifier

Example:

"GB29NWBK60161331926819"

status
enum<string>
required

Status of the bank account

Available options:
pending_verification,
active,
disabled
Example:

"active"

bankName
string
Example:

"Acme Bank"

holderName
string
Example:

"Jane Doe"

createdAt
string<date-time>
updatedAt
string<date-time>