# List payment accounts

Lists the payment accounts you own, newest first. Pass `customer_id` to find the account that Create a customer (`POST /v1/customer`) opened for that customer. This list takes `page` and `per_page`. It does not take `before` and `after`. An item in the list has no balances, so call Get a payment account to read them.

Endpoint: GET /payment-accounts
Version: 1.0.0
Security: JWT

## Security:

  - `JWT` (unknown)
    http bearer JWT

## Query parameters:

  - `customer_id` (string)
    Returns only the account of this customer. A value that is not one customer ID returns `400`.

  - `page` (integer)
    Page number for pagination. Starts from 1. Get the next page number from the `next` field in the response.

  - `per_page` (integer)
    Number of resources per page. Should be between 1 and 100.

## Response 200:

  - `200` (unknown)
    Payment accounts

## Response 200 fields (application/json):

  - `data` (array)

  - `data.id` (string)
    The unique identifier for the payment account.
    Example: pacct_6ab59a10Hk3Zq

  - `data.customer_id` (string)
    The customer you created for the account holder.
    Example: cust_6ab599fdEvVur

  - `data.status` (string)
    The status of the payment account.
- `draft`
 - the account is open but waits for the customer's consent. It cannot receive funds or send payouts.
- `active`
 - the account can receive funds and send payouts.
- `suspended`
 - Glomo has stopped the account. It cannot receive funds or send payouts.
- `closed`
 - the account is closed. Terminal.
    Enum: "draft", "active", "suspended", "closed"

  - `data.created_at` (string)
    Example: 2026-10-15T09:15:33Z

  - `data.updated_at` (string)
    Example: 2026-10-15T09:15:33Z

  - `page_meta` (object)

  - `page_meta.current` (integer)
    The current page number.
    Example: 2

  - `page_meta.previous` (integer | null)
    The previous page number.
    Example: 1

  - `page_meta.next` (integer | null)
    The next page number.
    Example: 3

  - `page_meta.per_page` (integer)
    The number of items per page.
    Example: 20

  - `page_meta.pages` (integer)
    The total number of pages.
    Example: 10

  - `page_meta.count` (integer)
    The total number of items.
    Example: 200

## Response 400:

  - `400` (unknown)
    Invalid query parameters

## Response 400 fields (application/json):

  - `error` (string, required)
    The HTTP reason phrase.
    Example: Bad Request

  - `message` (string, required)
    What went wrong. Show it in logs, not to the customer.
    Example: Payment account cannot send money

  - `code` (string)
    A stable code for the error. Present only on some errors, for example `INSUFFICIENT_BALANCE` on a payout and `order_amount_above_cap` on an order. Branch on `code` when it is present, and on the HTTP status when it is not.
    Example: INSUFFICIENT_BALANCE

