GET /vouchers/{uuid}/pdf

Download a single voucher as a PDF file. Handles reissued vouchers by including redeemables from the current issue. Requires view_orders permission.

Headers

  • Account-ID string(uuid) Required

    Account ID - Can be found on the Dashboard under Settings → API Tokens

Path parameters

  • uuid string(uuid) Required

    UUID of the voucher to download

Responses

  • 200 application/pdf

    PDF download with filename based on voucher reference

  • 404

    Voucher not found

  • 403

    Forbidden - Requires view_orders permission

GET /vouchers/{uuid}/pdf
curl \
 --request GET 'https://api.gb.enjovia.app/vouchers/abc12345-e89b-12d3-a456-426614174000/pdf' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Account-ID: string"