Skip to main content

Get voucher PDF

GET /v1/public/vouchers/{id}/pdf

Generates and downloads a PDF for a customer voucher.

Authorization​

X-API-Key required with the vouchers:read scope

Parameters​

NameLocationTypeRequiredDescription
idpathstringYesThe customer voucher's returned id or externalId.

Request example​

curl -X GET "https://api.remyrewards.co.uk/v1/public/vouchers/66c735e253f2836fbe941234/pdf" \
  -H "Accept: application/pdf" \
  -H "X-API-Key: YOUR_API_KEY"

Responses​

StatusDescription
200Voucher PDF.
401The API key is missing or invalid.
404The requested integration resource was not found.
429A rate or concurrency limit was exceeded.
500The voucher PDF could not be generated.