Get Voucher
GET {{baseUrl}}/orders/:order_reference/voucher
Get a valid voucher / ticket in PDF format.
Some third party reservation systems are unable to provide the voucher codes in a string format, instead you can obtain the PDF file using this API. This endpoint can also be used in case the voucher is not released directly upon booking confirmation.
Please note that by sending the correct Media Type header you can define whether to receive a download URL (
application/json
) or an encoded PDF file directly (application/pdf
).
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
booking_reference | string | A unique identifier got in response of booking API. | |
voucher_additional_information | string | This information will be shown on the voucher in a seperate section. |
RESPONSES
status: OK
"dolor"