List vouchers
Vouchers
List vouchers
List vouchers in your tenant with filtering, sorting, and pagination.
GET
List vouchers
Required scope:
Page shape (deprecated):
When
If a voucher has no linked customer,
vouchers:read
Rate limit: 300 requests/minute
Pagination
This endpoint supports both cursor pagination (recommended) and page pagination (deprecated). The cursor shape wins if both are sent on the same request. In cursor mode, results are orderedcreated_at DESC, id DESC, and the
sort_by / sort_order params are ignored.
Query parameters
Cursor shape (recommended)
| Parameter | Type | Default | Notes |
|---|---|---|---|
cursor | string | – | Opaque cursor from a previous response’s next_cursor |
limit | integer | 50 | 1–100 |
Page shape (deprecated)
| Parameter | Type | Default | Notes |
|---|---|---|---|
page | integer | 1 | 1-indexed page (min 1) |
per_page | integer | 50 | 1–100 |
Filters & sorting (both shapes)
| Parameter | Type | Default | Notes |
|---|---|---|---|
status | string | – | One of pending, completed, redeemed, expired, voided, refunded |
search | string | – | An email-shaped query searches recipient_email only. Any other query searches voucher code (prefix match) and recipient_name together – but not email. The two branches are exclusive. In cursor mode the in-process name fallback is skipped (SQL match only). |
sort_by | string | created_at | Page mode only. One of code, amount, balance, status, created_at. Ignored in cursor mode. |
sort_order | string | desc | Page mode only. asc or desc. Ignored in cursor mode. |
include | string | – | Set to customer to embed the linked customer record on each row |
Response
Cursor shape:include=customer is supplied, each voucher additionally carries a
customer field:
customer is null.
Errors
400– Invalidstatusvalue, or invalid/forged/cross-tenantcursor.422–includeis set to anything other thancustomer.