Skip to main content

Booking details

Object

NameTypeDetailsMandatoryDescription
classstringYThe type of object which is being returned. In this case it will be booking_details.
typestringHOTELYThe type of the booking.
booking_idstringmax length 100YThe partner reference of the booking.
check_in_datestringYYYY-mm-ddYThe check-in date of the booking.
check_out_datestringYYYY-mm-ddYThe check-out date of the booking.
total_booking_amountintYThe total booking fee amount in cents (500 XXX = 5.00 XXX).
booking_currencystring[A-Z]3YThe booking currency (ISO-4217), saved for information purposes only.

Example

{
"class": "booking_details",
"type": "HOTEL",
"booking_id": "test-ref",
"check_in_date": "2016-01-25",
"check_out_date": "2016-01-30",
"total_booking_amount" :500,
"booking_currency": "EUR"
}