# List bank accounts

Returns a paginated list of the cash accounts registered against your stablecoin product,
including which one your FIAT redemptions settle to (isRedemption).

Account numbers and IBANs are served redacted to their last four characters. For the Ripple
account to wire into when buying, which is served in full, see
Get bank details.

An account list with no rows returns an empty page with 200, never a 404.

Endpoint: GET /v1/stablecoin/bank-accounts
Version: 1.0.0
Security: oauth2

## Query parameters:

  - `page` (integer)

  - `size` (integer)

  - `sort` (string)
    Sort as property,direction. Supported properties: bankName, name. An unsupported
property is ignored rather than rejected.

## Response 200 fields (application/json):

  - `content` (array)

  - `content.name` (string, required)
    Customer-supplied account name. An empty string when the account has none.
    Example: "Treasury Operating"

  - `content.bankName` (string, required)
    An empty string when the account has none.
    Example: "First National Bank"

  - `content.accountNumberLastFour` (string)
    Last four digits of the account number only.
    Example: "7890"

  - `content.ibanLastFour` (string)
    Last four characters of the IBAN only.
    Example: "4321"

  - `content.swiftBicCode` (string)
    Example: "FNBKUS33"

  - `content.routingNumber` (string)
    Example: "021000021"

  - `content.currency` (string)
    ISO-4217 currency code.
    Example: "USD"

  - `content.reference` (string)
    Payment reference to quote on transfers to this account.
    Example: "RLUSD-OPS"

  - `content.isRedemption` (boolean, required)
    Whether this is the account your FIAT redemptions are paid out to.

  - `totalElements` (integer)
    Total number of matching bank accounts

  - `totalPages` (integer)

  - `size` (integer)

  - `number` (integer)
    Current page number (0-indexed)

## Response 401 fields (application/problem+json):

  - `type` (string)
    URI reference identifying the problem type

  - `title` (string)
    Short, human-readable summary of the problem

  - `status` (integer)
    HTTP status code

  - `code` (string)
    Machine-readable error code
    Enum: "TRANSACTION_NOT_FOUND", "TRANSACTION_INVALID_STATUS_TRANSITION", "TRANSACTION_DESTINATION_TYPE_IMMUTABLE", "FIAT_INSTRUCTION_NOT_FOUND", "FIAT_INSTRUCTION_ALREADY_EXISTS", "FIAT_INSTRUCTION_INVALID_STATUS_TRANSITION", "STABLECOIN_BANK_DETAILS_NOT_FOUND", "WALLET_NOT_FOUND", "WALLET_NOT_APPROVED", "FORBIDDEN", "UPSTREAM_UNAVAILABLE", "INVALID_REQUEST_BODY", "UNKNOWN_EXCEPTION"


