---
title: "List bank accounts"
method: GET
path: "/gateway/bank-accounts"
tags: ["Bank Accounts"]
---

# List bank accounts

`GET /gateway/bank-accounts`

## Request

- Base URL: `https://api.agentaos.ai/api/v1`
- URL: `https://api.agentaos.ai/api/v1/gateway/bank-accounts`
- Auth: API key in header `x-api-key`

The active bank accounts of the business, thin references only, each with whether the next payout can go to it.

## Response `200`

The accounts.

- BankAccount[]
  - `id` string, uuid, required
  - `currency` string, required: Upper-case, `EUR` or `USD`.
  - `account_type` string, required: The corridor: `iban`, `sort_code`, `aba`.
  - `account_identifier_last4` string, required: The last four characters of the account number.
  - `account_holder_name` string, required
  - `legal_type` 'PRIVATE' | 'BUSINESS', required
  - `name_match_status` 'success' | 'partial' | 'failed' | 'unknown', required: How the holder name compared with the name the bank holds, where the bank offers that check (not for every currency). `failed` is never paid; `partial` and `unknown` are paid.
  - `active` boolean, required
  - `payable` boolean, required: Can the next payout go to this account right now: active, and the name check did not fail.
  - `payableReason` string, nullable, required: When `payable` is false: why, in a sentence for the merchant.

## Other responses

- `401`: Missing or invalid `x-api-key`.
- `403`: The key does not manage the business named in `AgentaOS-Account`.

---

[API](https://skmtc.dev/agentaos/apis/agentaos-gateway-api.md) · [All operations](https://skmtc.dev/agentaos/apis/agentaos-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentaos/apis/agentaos-gateway-api/revisions/3a8ad3c6b965?raw)
