GET /developer/vouchers, /customers, /products) accept
two pagination shapes on the same endpoint. Pick whichever fits your
integration; if both are supplied on the same request, the cursor shape wins.
Cursor pagination (recommended)
Passcursor and limit. The response includes next_cursor (null at
the end of the walk).
next_cursor value verbatim:
next_cursor comes back null, you’ve reached the end.
Properties
- Opaque. Treat cursors as opaque strings. The format is HMAC-signed and
bound to your tenant; tampering, forging, or replaying a cursor against a
different API key all return
400 Bad Request. - Stable under mid-walk writes. Inserts and deletes that happen between
requests do not cause duplicates or skips on the cursor path. New rows
created with a
created_atnewer than the cursor anchor are not surfaced in subsequent pages – start a new walk to pick them up. - Forward only. Reverse traversal is not supported; restart the walk from the beginning to revisit earlier rows.
- Deterministic ordering. Cursor mode returns rows ordered by
created_at DESC, id DESC. The legacysort_by/sort_orderparams onGET /developer/vouchersare ignored whencursororlimitis set. - Per-endpoint limit caps: vouchers 100, customers 100, products 100.
Page pagination (deprecated)
Passpage and per_page. The response includes total, page, and
per_page.
| Parameter | Type | Default | Min | Max | Notes |
|---|---|---|---|---|---|
page | integer | 1 | 1 | – | 1-indexed page number |
per_page | integer | varies | 1 | 100 | Page size cap |
per_page differs by endpoint:
GET /developer/vouchers– default 50, max 100GET /developer/customers– default 50, max 100GET /developer/products– default 20, max 100
When the customer search uses a non-email term, the server caps the
underlying lookup at 1,000 candidate rows for memory safety. Very large
tenants searching for a common substring may not see every match – narrow
the search term to recover precision. Both cursor and page shapes apply
the same 1,000-row cap, so they return identical row sets for the same
search query.