๐ŸŽ‰ New Welcome to reservie โ€” V2 is now live and available for use. Get started โ†’

Vouchers

Updated Feb 26, 2026 2 min read

Retrieve the voucher catalogue โ€” discount codes, credit vouchers, gift cards, and legacy discounts.

The Vouchers API returns the voucher catalogue โ€” discount codes, credit vouchers, and gift cards. Legacy discounts are also included with a voucher_legacy_ ID prefix.

All endpoints require the vouchers:read scope.


List vouchers

GET /vouchers

Returns all active vouchers for the company, including legacy discounts.

No pagination โ€” vouchers are a small catalogue.

Example response

{
  "data": [
    {
      "id": "voucher_12",
      "type": "voucher",
      "voucher_type": "DISCOUNT",
      "name": "Early Bird",
      "code": "EARLY10",
      "discount_type": "PERCENTAGE",
      "discount_value": 10,
      "is_active": true,
      "expires": null,
      "created_at": "2025-06-15T10:00:00"
    },
    {
      "id": "voucher_15",
      "type": "voucher",
      "voucher_type": "CREDIT",
      "name": "Store Credit",
      "code": "CREDIT50",
      "initial_value_base100": 5000,
      "remaining_value_base100": 3500,
      "is_active": true,
      "expires": "2026-06-01T00:00:00",
      "created_at": "2025-06-15T10:00:00"
    },
    {
      "id": "voucher_20",
      "type": "voucher",
      "voucher_type": "GIFT_CARD",
      "name": "Gift Voucher",
      "min_purchase_base100": 1000,
      "max_discount_base100": 5000,
      "is_active": true,
      "expires_months": 6,
      "created_at": "2025-06-15T10:00:00"
    },
    {
      "id": "voucher_legacy_3",
      "type": "voucher",
      "voucher_type": "DISCOUNT",
      "name": "Staff Discount",
      "code": "",
      "discount_type": "FIXED",
      "discount_value": 5,
      "is_active": true,
      "expires": null,
      "created_at": null
    }
  ]
}

Get a single voucher

GET /voucher/{id}

Retrieve a single voucher by ID. Checks new vouchers first, then legacy discounts.

Path parameters

ParameterTypeDescription
idstringVoucher ID (e.g. voucher_12)

The response has the same shape as an individual item from the list endpoint, wrapped in { "data": { ... } }.

Error responses

StatusCondition
403Missing vouchers:read scope
404Voucher ID does not exist for this company

Voucher types

The voucher_type field indicates the kind of voucher. Each type has different fields.

DISCOUNT

A percentage or fixed-amount discount code.

FieldTypeDescription
codestringDiscount code customers enter at checkout
discount_typestring"PERCENTAGE" or "FIXED"
discount_valuenumberDiscount amount (percentage as integer, or fixed amount)
expiresstring or nullExpiry datetime, or null if no expiry

CREDIT

A prepaid credit voucher with a declining balance.

FieldTypeDescription
codestringCredit voucher code
initial_value_base100numberOriginal value in smallest currency unit
remaining_value_base100numberRemaining balance in smallest currency unit
expiresstring or nullExpiry datetime, or null if no expiry

GIFT_CARD

A gift card with purchase constraints.

FieldTypeDescription
min_purchase_base100numberMinimum purchase amount to use this gift card
max_discount_base100numberMaximum discount the gift card provides
expires_monthsnumberNumber of months until the gift card expires

Common fields

These fields appear on all voucher types:

FieldTypeDescription
idstringPrefixed voucher ID (e.g. voucher_12 or voucher_legacy_3)
typestringAlways "voucher"
voucher_typestring"DISCOUNT", "CREDIT", or "GIFT_CARD"
namestringVoucher name
is_activebooleanWhether the voucher is currently active
created_atstring or nullISO 8601 datetime, or null for legacy discounts

Caching

Both endpoints are cached for 5 minutes. See Scopes, Rate Limits, Caching & Errors for details.