Download transaction receipt
Request to download the latest transaction receipt associated with a reservation.
GET https://[base_url]/v1/bookings/{booking_number}/vouchers?hotel_id={hotel_id}&portal_code={portal_code}
Example:
GET https://[base_url]/v1/bookings/6821456123/vouchers?hotel_id=11111&portal_code=booking
Query parameters
| PARAMETER | TYPE | REQ. | DESCRIPTION |
|---|---|---|---|
| booking_number | Integer | Yes | Integer representing the unique reservation identifier in Roomcloud. Autocore validates against reservation code and CRS ID |
| hotel_id | Integer | Yes | Integer representing the unique identifier of the hotel in Roomcloud |
| portal_code | String | Yes | Refers to the OTA associated with a reservation, accepting the following values: booking, expedia, despegar, hyperguest |
Endpoint response
Status code: 200
RAW DATA de PDF con content type: application/pdf
Status code: 401, 403, 404
{
"code": "Status code",
"message":"Error description",
"detail": "Error details"
}