Look up voucher by code
GET /v1/public/vouchers/lookup
Finds a customer voucher by its exact human-readable code.
Authorization
X-API-Key required with the vouchers:read scope
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
code | query | string | Yes | Issued voucher code. |
Request example
curl -X GET "https://api.remyrewards.co.uk/v1/public/vouchers/lookup?code=GIFT8HD42K" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"Responses
| Status | Description |
|---|---|
200 | Voucher retrieved. |
400 | The request is missing a required value or contains invalid data. |
401 | The API key is missing or invalid. |
403 | The API key is valid but does not have the required scope. |
404 | The requested integration resource was not found. |
429 | A rate or concurrency limit was exceeded. |