Querying
List endpoints use query parameters for pagination and filtering. Parameters should be URL encoded.
Pagination
GET /v1/public/vouchers accepts:
| Parameter | Default | Limits |
|---|---|---|
page | 1 | Integer of at least 1 |
limit | 10 | Integer from 1 to 100 |
List responses include currentPage, totalPages, totalItems, itemsPerPage, hasNextPage, and hasPrevPage.
Voucher filters
status:pending,active,expired,redeemed,cancelled, orpartial.search: Case-insensitive search across issued voucher codes and titles.
GET /v1/public/vouchers?status=active&search=gift&page=1&limit=25