> ## 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.

# Idempotency & Pagination

> Safe retries with Idempotency-Key and the paginated list envelope

## Idempotent requests

To safely retry a create without producing duplicates, include an `Idempotency-Key` header. Use a unique value per logical operation — preferably a UUID. Replaying a request with the same key returns the original result instead of creating a second resource.

<ParamField header="Idempotency-Key" type="string" required>
  Required on Create Account, Create Virtual Account, Create Transfer, and Create Payment; other create endpoints do not take this header.
</ParamField>

## Pagination

List endpoints accept `page` and `size` query parameters. `size` defaults to 10 with a maximum of 100. Responses use a paginated list envelope — continue requesting pages until `page` equals `pages` to ensure no records are missed.

```json Response — paginated list envelope theme={null}
{
  "items": [],
  "page": 1,
  "size": 10,
  "total": 42,
  "pages": 5
}
```

<ResponseField name="items" type="T[]">
  Items in the current page.
</ResponseField>

<ResponseField name="page" type="integer">
  Current page number (1-indexed).
</ResponseField>

<ResponseField name="size" type="integer">
  Items per page.
</ResponseField>

<ResponseField name="total" type="integer">
  Total items across all pages.
</ResponseField>

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