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:¶
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 |