> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.hopnow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List Accounts

> Retrieve all accounts for a customer

## Path Parameters

<ParamField path="customer_id" type="string" required>
  The customer's external ID (starts with `cus_`)
</ParamField>

## Query Parameters

<ParamField query="page" type="integer" default="1">
  Page number (minimum 1)
</ParamField>

<ParamField query="size" type="integer" default="10">
  Items per page (1-100)
</ParamField>

<ParamField query="statuses" type="array">
  Filter accounts by status (e.g., `active`, `suspended`)
</ParamField>

<ParamField query="start_date" type="string">
  Filter accounts created on or after this date (ISO 8601 format)
</ParamField>

<ParamField query="end_date" type="string">
  Filter accounts created before this date (ISO 8601 format)
</ParamField>

## Response

<ResponseField name="items" type="array">
  Array of account objects

  <Expandable title="Account Fields">
    <ResponseField name="id" type="string">
      Account identifier (starts with `acc_`)
    </ResponseField>

    <ResponseField name="object" type="string">
      Always returns `"account"`
    </ResponseField>

    <ResponseField name="customer_id" type="string">
      The customer's external ID
    </ResponseField>

    <ResponseField name="name" type="string">
      The account name
    </ResponseField>

    <ResponseField name="status" type="string">
      Account status: `active`, `suspended`, or `inactive`
    </ResponseField>

    <ResponseField name="balances" type="array">
      Account balances by currency

      <Expandable title="Balance Fields">
        <ResponseField name="currency" type="string">
          ISO 4217 currency code
        </ResponseField>

        <ResponseField name="currency_type" type="string">
          Type of currency: `fiat` or `crypto`
        </ResponseField>

        <ResponseField name="available_balance" type="string">
          Available balance for transactions (decimal string)
        </ResponseField>

        <ResponseField name="pending_payout" type="string">
          Amount pending in outgoing transfers (decimal string)
        </ResponseField>

        <ResponseField name="pending_payin" type="string">
          Amount pending in incoming transfers (decimal string)
        </ResponseField>

        <ResponseField name="total_balance" type="string">
          Total balance including pending amounts (decimal string)
        </ResponseField>

        <ResponseField name="updated_at" type="string">
          ISO 8601 timestamp of last balance update
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="created" type="string">
      ISO 8601 timestamp when the account was created
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="page" type="integer">
  Current page number
</ResponseField>

<ResponseField name="size" type="integer">
  Number of items per page
</ResponseField>

<ResponseField name="total" type="integer">
  Total number of items
</ResponseField>

<ResponseField name="pages" type="integer">
  Total number of pages
</ResponseField>

## Response Example

```json theme={null}
{
  "items": [
    {
      "id": "acc_1234567890abcdef",
      "object": "account",
      "customer_id": "cus_abc123",
      "name": "Primary Trading Account",
      "status": "active",
      "balances": [
        {
          "currency": "USD",
          "currency_type": "fiat",
          "available_balance": "10000.50",
          "pending_payout": "250.00",
          "pending_payin": "500.00",
          "total_balance": "10750.50",
          "updated_at": "2024-01-15T12:30:00Z"
        }
      ],
      "created": "2024-01-01T00:00:00Z"
    },
    {
      "id": "acc_fedcba0987654321",
      "object": "account",
      "customer_id": "cus_abc123",
      "name": "Savings Account",
      "status": "active",
      "balances": [],
      "created": "2024-01-02T00:00:00Z"
    }
  ],
  "page": 1,
  "size": 10,
  "total": 25,
  "pages": 3
}
```
