Last updated

Retrieving new reservations

Use the OTA_HotelResNotif endpoint to retrieve and acknowledge new reservations. To process modified or cancelled reservations using OTA specifications, use the OTA_HotelResModifyNotif endpoint.

At a high level, processing new reservations includes:

  1. Retrieving new reservations, and,
  2. Acknowledging that you have processed the reservations.

To retrieve new reservations

Use the GET OTA_HotelResNotif endpoint to get all the recent property reservations made through the Booking.com channels. By default, the response contains only reservations which have not yet been acknowledged.

To ensure timely delivery of data, call GET OTA_HotelResNotif once per twenty seconds. However, to help ensure that acknowledgements have been processed, wait five seconds between POST OTA_HotelResNotif and the next GET OTA_HotelResNotif.

Optionally, you can apply filters to retrieve:

  • A single reservation.
  • Reservations specific to certain properties specified by property IDs.
  • Reservations which were booked or changed since a specified date.
  • A maximum number of reservations to return per call.
GET 
https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResNotif

Query parameters

The following table describes the optional elements you can add as query parameters to filter the incoming reservations.

Use filters sparingly

To process reservations optimally, Booking.com recommends that you use these parameters sparingly and only while retrieving reservations immediately after an unexpected outage. Make sure to remove these parameters after recovering from unexpected events.

ElementDescriptionTypeRequired/OptionalNotes
idSpecify a reservation ID to retrieve a single reservation.integeroptionalSpecify a reservation ID that you have already retrieved. For accurate results, use the hotel_ids parameter and specify the property ID. With this parameter, you may access reservations made more than two weeks in the past.
Use the OTA_HotelResModifyNotif endpoint for reservations that have been modified or cancelled and OTA_HotelResNotif for all other reservations.
For example, https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResNotif?id=2672953870&hotel_ids=8011855
hotel_idsSpecify the unique property ID(s), separated by comma, to limit results to those properties. You can specify, for example, 10 property IDs.integeroptionalUse only comma separated property IDs to specify individual property ID values. When retrieving reservations for multiple properties using this parameter, if you do not have access to some properties, the API returns a Warning in the response only for those properties while returning reservations for all other properties that you have access to. Use this parameter to restrict the results to a given property.
For example, when servicing an interactive request, you may pass hotel_ids for the partner account and id from an input field. If they do not match, the API returns 404 status. For example, https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResNotif?id=2672953870&hotel_ids=8011855,8011857
last_change[Only applicable when Reservations Recovery API is not implemented] Specify a date, in the format YYYY-MM-DD HH:MM:SS, to retrieve all reservations that were created, modified or cancelled since the specified date. You can request reservations up until 2 weeks in the past.datetimeoptionalUsing this filter, the API returns reservations starting from the oldest reservation. You can limit the returned reservations count by specifying the limit parameter.
Use this parameter only when recovering lost reservations after an unexpected outage. Specifying a future date and time returns 0 reservations.
Using this filter immediately after a daylight-savings time change may return 0 or more reservations depending on whether the clock was set ahead or behind.
Important: Using this filter when the feature: Enable Reservation Recovery API (enable_reservation_recovery_api) is turned on, returns a HTTP 400 error.
limitSpecify a maximum number of reservations to return. Specify a value >=10 and <= 200.integeroptionalThe API may return reservations less than the specified limit based on the immediate availability of data, even if there are enough reservations to satisfy the limit. This filter can improve latency at the expense of throughput, therefore it adds a risk of a throughput bottleneck. It is not recommended to use a low value when retrieving new bookings and modifications.

Query parameter example

The following query retrieves reservation(s) that meet the following conditions:

  • Reservations that belong to two properties, namely 8011855, 8011856 and if providers have access to them.
  • Reservations that were created/modified since 2022-07-15 00:00:00.
  • Only 200 reservations.

GET https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResNotif?hotel_ids=8011855,8011856,last_change=2022-07-15 00:00:00,limit=200

Response body example

The following is a successful response body example:

<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd" TimeStamp="2022-07-18T11:18:13+00:00" Target="Production" Version="2.001">
    <HotelReservations>
        <HotelReservation>
            <RoomStays>
                <RoomStay IndexNumber="792">
                    <RoomTypes>
                        <RoomType RoomTypeCode="801185502">
                            <RoomDescription Name="Non-refundable -  Double Room - Breakfast included">
                                <Text>This double room features a bathrobe, hot tub and game console.</Text>
                                <MealPlan>Breakfast is included in the room rate.</MealPlan>
                                <MaxChildren>0</MaxChildren>
                            </RoomDescription>
                            <Amenities>
                                <Amenity>Bath</Amenity>
                                <Amenity>TV</Amenity>
                                <Amenity>Hot tub</Amenity>
                                <Amenity>Bathrobe</Amenity>
                                <Amenity>Free toiletries</Amenity>
                                <Amenity>Infinity pool</Amenity>
                                <Amenity>Bottle of water</Amenity>
                                <Amenity>Chocolate or cookies</Amenity>
                            </Amenities>
                        </RoomType>
                    </RoomTypes>
                    <RatePlans>
                        <RatePlan>
                            <Commission>
                                <CommissionPayableAmount Amount="2472" DecimalPlaces="2" CurrencyCode="EUR"/>
                            </Commission>
                        </RatePlan>
                    </RatePlans>
                    <RoomRates>
                        <RoomRate EffectiveDate="2022-07-20" RatePlanCode="25279855">
                            <Rates>
                                <Rate>
                                    <Total AmountAfterTax="8600" CurrencyCode="EUR" DecimalPlaces="2"/>
                                </Rate>
                            </Rates>
                        </RoomRate>
                        <RoomRate EffectiveDate="2022-07-21" RatePlanCode="25279855">
                            <Rates>
                                <Rate>
                                    <Total AmountAfterTax="8600" CurrencyCode="EUR" DecimalPlaces="2"/>
                                </Rate>
                            </Rates>
                        </RoomRate>
                        <TPA_Extensions>
                            <BookingCondition>Breakfast is included in the room rate. Children and Extra Bed Policy: All children are welcome. There is no capacity for extra beds in the room. The maximum number of total guests in a room is 6. There is no capacity for cots in the room.  Deposit Policy: No prepayment is needed.  Cancellation Policy: The guest can cancel free of charge at any time. </BookingCondition>
                        </TPA_Extensions>
                    </RoomRates>
                    <GuestCounts>
                        <GuestCount Count="2" AgeQualifyingCode="10"/>
                    </GuestCounts>
                    <Occupancy>4</Occupancy>
                    <CancelPenalties>
                        <CancelPenalty PolicyCode="152" From="2022-07-18T11:15:36+00:00">
                            <AmountPercent Amount="0" DecimalPlaces="2" CurrencyCode="EUR"/>
                        </CancelPenalty>
                    </CancelPenalties>
                    <Total AmountAfterTax="17200" CurrencyCode="EUR" DecimalPlaces="2">
                        <Taxes Amount="6534" CurrencyCode="EUR" DecimalPlaces="2">
                            <Tax Amount="1600" ChargeFrequency="12" Code="14" CurrencyCode="EUR" DecimalPlaces="2" Type="Exclusive">
                                <TaxDescription>
                                    <Text>Bed linens fee</Text>
                                </TaxDescription>
                            </Tax>
                            <Tax Amount="1800" ChargeFrequency="12" Code="14" CurrencyCode="EUR" DecimalPlaces="2" Type="Exclusive">
                                <TaxDescription>
                                    <Text>Gas fee</Text>
                                </TaxDescription>
                            </Tax>
                            <Tax Amount="2624" ChargeFrequency="12" Code="19" CurrencyCode="EUR" DecimalPlaces="2" Type="Inclusive">
                                <TaxDescription>
                                    <Text>VAT (18%)</Text>
                                </TaxDescription>
                            </Tax>
                            <Tax Amount="510" ChargeFrequency="12" Code="3" CurrencyCode="EUR" DecimalPlaces="2" Type="Exclusive">
                                <TaxDescription>
                                    <Text>City tax (3.5%)</Text>
                                </TaxDescription>
                            </Tax>
                        </Taxes>
                    </Total>
                    <BasicPropertyInfo HotelCode="8011855"/>
                    <ResGuestRPHs>
                        <ResGuestRPH RPH="1"/>
                    </ResGuestRPHs>
                </RoomStay>
                <RoomStay IndexNumber="815">
                    <RoomTypes>
                        <RoomType RoomTypeCode="801185502">
                            <RoomDescription Name="Non-refundable -  Double Room - Breakfast included">
                                <Text>This double room features a bathrobe, hot tub and game console.</Text>
                                <MealPlan>Breakfast is included in the room rate.</MealPlan>
                                <MaxChildren>0</MaxChildren>
                            </RoomDescription>
                            <Amenities>
                                <Amenity>Bath</Amenity>
                                <Amenity>TV</Amenity>
                                <Amenity>Hot tub</Amenity>
                                <Amenity>Bathrobe</Amenity>
                                <Amenity>Free toiletries</Amenity>
                                <Amenity>Infinity pool</Amenity>
                                <Amenity>Bottle of water</Amenity>
                                <Amenity>Chocolate or cookies</Amenity>
                            </Amenities>
                        </RoomType>
                    </RoomTypes>
                    <RatePlans>
                        <RatePlan>
                            <Commission>
                                <CommissionPayableAmount Amount="2472" DecimalPlaces="2" CurrencyCode="EUR"/>
                            </Commission>
                        </RatePlan>
                    </RatePlans>
                    <RoomRates>
                        <RoomRate EffectiveDate="2022-07-20" RatePlanCode="25279855">
                            <Rates>
                                <Rate>
                                    <Total AmountAfterTax="8600" CurrencyCode="EUR" DecimalPlaces="2"/>
                                </Rate>
                            </Rates>
                        </RoomRate>
                        <RoomRate EffectiveDate="2022-07-21" RatePlanCode="25279855">
                            <Rates>
                                <Rate>
                                    <Total AmountAfterTax="8600" CurrencyCode="EUR" DecimalPlaces="2"/>
                                </Rate>
                            </Rates>
                        </RoomRate>
                        <TPA_Extensions>
                            <BookingCondition>Breakfast is included in the room rate. Children and Extra Bed Policy: All children are welcome. There is no capacity for extra beds in the room. The maximum number of total guests in a room is 6. There is no capacity for cots in the room.  Deposit Policy: No prepayment is needed.  Cancellation Policy: The guest can cancel free of charge at any time. </BookingCondition>
                        </TPA_Extensions>
                    </RoomRates>
                    <GuestCounts>
                        <GuestCount Count="2" AgeQualifyingCode="10"/>
                    </GuestCounts>
                    <Occupancy>4</Occupancy>
                    <CancelPenalties>
                        <CancelPenalty PolicyCode="152" From="2022-07-18T11:15:37+00:00">
                            <AmountPercent Amount="0" DecimalPlaces="2" CurrencyCode="EUR"/>
                        </CancelPenalty>
                    </CancelPenalties>
                    <Total AmountAfterTax="17200" CurrencyCode="EUR" DecimalPlaces="2">
                        <Taxes Amount="6534" CurrencyCode="EUR" DecimalPlaces="2">
                            <Tax Amount="1600" ChargeFrequency="12" Code="14" CurrencyCode="EUR" DecimalPlaces="2" Type="Exclusive">
                                <TaxDescription>
                                    <Text>Bed linens fee</Text>
                                </TaxDescription>
                            </Tax>
                            <Tax Amount="1800" ChargeFrequency="12" Code="14" CurrencyCode="EUR" DecimalPlaces="2" Type="Exclusive">
                                <TaxDescription>
                                    <Text>Gas fee</Text>
                                </TaxDescription>
                            </Tax>
                            <Tax Amount="2624" ChargeFrequency="12" Code="19" CurrencyCode="EUR" DecimalPlaces="2" Type="Inclusive">
                                <TaxDescription>
                                    <Text>VAT (18%)</Text>
                                </TaxDescription>
                            </Tax>
                            <Tax Amount="510" ChargeFrequency="12" Code="3" CurrencyCode="EUR" DecimalPlaces="2" Type="Exclusive">
                                <TaxDescription>
                                    <Text>City tax (3.5%)</Text>
                                </TaxDescription>
                            </Tax>
                        </Taxes>
                    </Total>
                    <BasicPropertyInfo HotelCode="8011855"/>
                    <ResGuestRPHs>
                        <ResGuestRPH RPH="2"/>
                    </ResGuestRPHs>
                    <Comments>
                        <Comment>
                            <Text>I need a wakeup service</Text>
                        </Comment>
                    </Comments>
                    <SpecialRequests>
                        <SpecialRequest Name="smoking preference">
                            <Text>Non-Smoking</Text>
                        </SpecialRequest>
                    </SpecialRequests>
                    <ServiceRPHs>
                        <ServiceRPH RPH="1" />
                    </ServiceRPHs>
                </RoomStay>
            </RoomStays>
            <Services>
                <Service ServiceRPH="1" ServiceInventoryCode="22" ServicePricingType="3">
                    <ServiceDetails>
                        <TimeSpan Duration="1" />
                        <Fees>
                            <Fee Amount="5" />
                        </Fees>
                    </ServiceDetails>
                </Service>
            </Services>
            <ResGuests>
                <ResGuest ResGuestRPH="1">
                    <Profiles>
                        <ProfileInfo>
                            <Profile>
                                <Customer>
                                    <PersonName>
                                        <GivenName>Jackson</GivenName>
                                        <Surname>G</Surname>
                                    </PersonName>
                                </Customer>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                </ResGuest>
                <ResGuest ResGuestRPH="2">
                    <Profiles>
                        <ProfileInfo>
                            <Profile>
                                <Customer>
                                    <PersonName>
                                        <GivenName>Morgan</GivenName>
                                        <Surname>Best</Surname>
                                    </PersonName>
                                </Customer>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                </ResGuest>
            </ResGuests>
            <TPA_Extensions>
                <flags>
                    <flag name="booker_is_genius"/>
                </flags>
            </TPA_Extensions>
            <ResGlobalInfo>
                <Comments>
                    <Comment>
                        <Text>SPECIAL REQUESTS</Text>
                    </Comment>
                </Comments>
                <Guarantee>
                    <GuaranteesAccepted>
                        <GuaranteeAccepted>
                            <PaymentCard CardCode="MC" CardNumber="123456789" SeriesCode="" ExpireDate="0122">
                                <CardHolderName>Test name</CardHolderName>
                            </PaymentCard>
                        </GuaranteeAccepted>
                    </GuaranteesAccepted>
                </Guarantee>
                <Total AmountAfterTax="34400" CurrencyCode="EUR" DecimalPlaces="2"/>
                <HotelReservationIDs>
                    <HotelReservationID ResID_Value="3181367489" ResID_Date="2022-07-18T11:15:36"/>
                    <HotelReservationID ResID_Value="a62426a2" ResID_Source="BOOKING.COM" ResID_Type="18"/>
                </HotelReservationIDs>
                <Profiles>
                    <ProfileInfo>
                        <Profile>
                            <Customer Language="en-gb">
                                <PersonName>
                                    <GivenName>Samuel</GivenName>
                                    <Surname>West</Surname>
                                </PersonName>
                                <Address>
                                    <AddressLine>Park Avenue</AddressLine>
                                    <CityName>Amsterdam</CityName>
                                    <PostalCode>1000AB</PostalCode>
                                    <CountryName Code="NL" />
                                    <CompanyName></CompanyName>
                                </Address>
                            </Customer>
                        </Profile>
                    </ProfileInfo>
                </Profiles>
                <TotalCommissions>
                    <CommissionPayableAmount Amount="4944" DecimalPlaces="2" CurrencyCode="EUR"/>
                    <Comment>This is the total commission amount calculated by Booking.com</Comment>
                </TotalCommissions>
            </ResGlobalInfo>
        </HotelReservation>
    </HotelReservations>
</OTA_HotelResNotifRQ>
<!-- RUID: [UmFuZG9tSVYkc2RlIyh9YQBqQix6ji/9CGLr4suuQQpMLxlYoJyWlkVvTqM6SzEOyGl3Q0Wa6cmi+1wmqilsmxPEJrZ7oSOPjWwXn0n0V+g=] -->

Response body elements

Depending on the number of properties you handle and the number of reservations per property, the API can return a long response body. To better understand each response element that make up the response body, this section is split into multiple tables.

The response body contains the following high-level root elements:

Reservation details

This table lists the response elements that consolidate details per reservation.

ElementAttributeDescriptionTypeNotes
OTA_HotelResNotifRQContains the response data.object
> HotelReservationsContains a collection of all reservations.object
>> HotelReservationContains individual property reservation details.object
>>> RoomStaysContains the booked room details per reservation.object
>>> ResGuestsContains the guests details per reservation.object
>>> ResGlobalInfoContains the booker details per reservation.object
>>> ServicesContains details of services that the guest is eligible for.objectTo view this and its child elements, make sure to enable the feature: Get extra information for reservations (res_extra_info).

Booked room details

The following table lists all the elements that consolidate details per booked room.

ElementAttributeDescriptionTypeNotes
RoomStayContains the room reservation details for each booked room.objectThe details include Booking.com room type, rate plan, commission payable, guest count, and reference to guest details among others.
IndexNumberSpecifies a unique ID generated by Booking.com for each booked room in the reservation.integerUse this ID to identify the booked room within the reservation. Unique for every booked room.
> RoomTypesContains the room type details for each booked room.object
>> RoomTypeContains the individual room type details for each reservation.object
RoomTypeCodeSpecifies the unique room type ID generated by Booking.com at the time of creating the room type.integer
>>> RoomDescriptionContains a description of the booked room.object
NameSpecifies the room name for the booked room.stringBooking.com generates the name from the following values: room name, cancellation policy and meal plan name.
>>>> TextSpecifies the room description for the booked room.stringBooking.com populates this field based on the property’s settings in the room amenity and room details. Note that we show the information in the preferred language of the property's primary point of contact. If you have implemented the Content API, then you can set the language under ContactInfos ... >... Language for the ContactProfileType as general via the OTA_HotelDescriptiveContentNotif endpoint.
>>>> MealPlanSpecifies the meal plan information applicable for the booked room.stringNote that we show the information in the preferred language of the property's primary point of contact. If you have implemented the Content API, then you can set the language under ContactInfos ... >... Language for the ContactProfileType as general via the OTA_HotelDescriptiveContentNotif endpoint.
>>>> MaxChildrenSpecifies the maximum number of children who can stay in the booked room for free.integerThis is a static setting defined per room when you set up Children Policies. Guests cannot specify a value for the MaxChildren attribute during the booking process. The maximum age of the children can be found in the policy of the property. The property can request this setting through the Booking.com Connectivity Support team or check in the Booking.com Extranet.
>>> AmenitiesContains the details of all the facilities available in the room and at the property at the time of reservation.object
>>>> AmenitySpecifies the details of each facility available in the room and at the property at the time of reservation.stringNote that we show the information in the preferred language of the property's primary point of contact. If you have implemented the Content API, then you can set the language under ContactInfos ... >... Language for the ContactProfileType as general via the OTA_HotelDescriptiveContentNotif endpoint.
> RatePlansContains the rate plan information for the reservation.object
>> RatePlanContains individual rate plan information for the reservation.object
>>> CommissionContains the commission information for each reservation that the property owes to Booking.com.object
>>>> CommissionPayableAmountContains the individual commission information.object
AmountCaptures the total commission due for this room for all nights combined.integer
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integerFor example, Amount=13350 with DecimalPlaces="2" represents 133.50.
CurrencyCodeSpecifies the currency used for pricing the commission.enumerated stringThis is always the same for a property and is set by Booking.com.
> RoomRatesContains the room price and rate plan information.object
>> RoomRateContains individual room price and rate plan information.object
EffectiveDateSpecifies the start date of the stay.datetime
RatePlanCodeSpecifies the unique rate plan code generated by Booking.com at the time of creating the rate plan.integer
>>> RatesContains room rate information.object
>>>> RateContains individual room rate information.object
>>>>> TotalContains information about the total price.object
AmountAfterTax/AmountBeforeTaxSpecifies the total price including all relevant taxes.integerIf the property has both Including VAT and Including taxes enabled in the Extranet (VAT/Tax/Charges page under the Property tab), the API returns AmountAfterTax, otherwise it returns AmountBeforeTax.
CurrencyCodeSpecifies the currency used for pricing.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integerFor example, Amount=13350 with DecimalPlaces="2" represents 133.50.
>> TPA_ExtensionsContains additional reservation details for each booked room.objectTo see this and GuestCounts element, you must enable the feature: Include room-level guest count old (childcount_per_room). To see this and the rate rewrite information, you must enable the feature: Get extra information for reservations (res_extra_info).
> OccupancyContains the maximum occupancy for each room reservation. If the room has rate level restrictions, then this is the maximum occupancy for that rate.integerTo see this element, make sure to enable the feature: Include room-level occupancy (include_room_level_occupancy).
> GuestCountsContains the room-level guest count for the reservation.object
>> GuestCountContains the guest count for the reservation.object
CountSpecifies the number of guests for this reservation as entered by the booker.integer
AgeQualifyingCodeSpecifies a code that represents the guest's age. Each code represents an age range.integerTo see this and the age attribute, you must enable the feature: Include room-level guest count (guestcount_per_room).
The supported codes are:
10 - Adult.
8 - Child.
AgeSpecifies the age of the child guests.integerOnly available when the AgeQualifyingCode = 8.
> CancelPenaltiesContains the cancellation policy assigned to the roomrate.objectTo see this and its child elements, make sure to enable the feature: Add cancellation policy (res_cancel_policies).
> TotalContains the total price for this room for all nights combined. Calculated as the sum of all prices known at the moment of reservation.objectNote that there may be some excluded charges from this price. For more details, see the Include price details (include_price_details) feature.
AmountAfterTax/AmountBeforeTaxSpecifies the total price including all the taxes.integerIf the property has both Including VAT and Including taxes enabled, AmountAfterTax is returned, otherwise AmountBeforeTax.
CurrencyCodeSpecifies the currency used for pricing.enumerated stringThis is always the same for a property and is set by Booking.com
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integerFor example, Amount=13350 with DecimalPlaces="2" represents 133.50.
>> TaxesContains the tax information.objectFor more information, see the feature: Include price details (include_price_details).
> BasicPropertyInfoContains the property information where the room is booked.object
HotelCodeSpecifies the property ID as used by Booking.com.integer
> ResGuestRPHsContains an index number that works as a cross-reference to link guests (ResGuest) to rooms (RoomStay).object
>> ResGuestRPHobject
RPHSpecifies an index number that works as a cross-reference to link guests (ResGuest) to rooms (RoomStay).integer
> SpecialRequestsContains any special requests selected by the guest.objectTo view this and the child elements, make sure to enable the feature: Get extra information for reservations (res_extra_info).
>> SpecialRequestContains individual special requestsobject
NameSpecifies the service code.enumerated stringFor a full list of all available service names, see Service names/codes.
>>> TextSpecifies the service descriptionenumerated stringFor a full list of all the available service descriptions, see Service names.

Guest details

The following table lists all the elements that capture guest details.

ElementAttributeDescriptionTypeNotes
ResGuestsContains the details of all the guests for the reservation.object
> ResGuestContains individual guest details per room booked in the reservation.object
ResGuestRPHSpecifies a reference to the RPH attribute under RoomStay > ResGuestRPH.integerUse this value to identify the room type details that this guest is assigned to.
>> ProfilesContains a collection of guest details.object
>>> ProfileInfoContains a collection of individual guest details.object
>>>> ProfileContains individual guest details.objectUseful when there is more than one room booked to list guest details for each room.
>>>>> CustomerContains the guest details.object
>>>>>> PersonNameContains the first name and surname of the guest.objectThis can be different from the booker name.
>>>>>>> GivenNameSpecifies the first name of the booker as filled by the booker.stringOnly visible when the feature: Split Surname and GivenName (ota_res_split_names) is enabled. The API splits the name into a given name and surname. Otherwise, this field is omitted.
>>>>>>> SurnameContains the guest name for this room as filled in on the website.stringIf the feature: Split Surname and GivenName (ota_res_split_names) is enabled, then this element contains only the surname of the guest. Otherwise, it specifies both the given name and surname.
TPA_ExtensionsContains additional reservation details about the guest.objectTo view this and its child elements, make sure to enable the feature: Get extra information for reservations (res_extra_info).

Booker details

The following table lists all the elements that capture details of the person who booked the stay.

If you enable the feature: Include dummy CC details for bank transfer payout (res_dummy_cc_on_bt), the API returns dummy credit card details in reservation messages when:

  • Guests pay through an alternate payment method.
  • The property's payout method is set to bank transfer.

You can identify that a message has dummy credit card details by looking for <CardHolderName>NOCCRESERVATION</CardHolderName>. For more details, see Include dummy credit card details for bank transfer payout.

ElementAttributeDescriptionTypeNotes
ResGlobalInfoContains more details on the reservation.objectThis includes comments, reservation ID, and details of the individual who made the reservation.
> CommentsContains all the comments about the reservation provided at the time of booking.object
> GuaranteeContains the card details as a guarantee for the reservation.object
>> GuaranteesAcceptedobject
>>> GuaranteeAcceptedobject
>>>> PaymentCardobject
CardCodeSpecifies the 2-character code of the credit card issuer.enumerated stringThe API returns "XX" if no code for the credit card is defined. Only returns from one of the values in the Card code table.
CardNumberSpecifies the credit card number as supplied by the guest.stringIf all values are 0s, something went wrong when retrieving the number. You can try retrieving the reservation again.
SeriesCodeSpecifies the credit card CVC code as supplied by the guest.stringIf all values are 0s, something went wrong when retrieving the CVC-code. You can try retrieving the reservation again.
ExpireDateSpecifies the credit card expiration date as supplied by the guest.datetimeIf all values are 0s, something went wrong when retrieving the expiration date. You can try retrieving the reservation again.
EffectiveDateSpecifies the date that the card can be charged from.datetimeThis attribute exists only for virtual credit cards. To see this attribute in the response, you must enable the feature: Reservation virtual credit card activation (res_virtual_credit_card_activation_date) using the Provider portal.
CurrentBalanceSpecifies the current balance that is chargeable on the virtual credit card.integerThis attribute exists only for virtual credit cards. To see this attribute in the response, you must enable the feature: Include VCC current balance (res_virtual_credit_card_current_balance) using the Provider portal.
DecimalPlacesSpecifies the position of the decimal point (from right to left) in the current balance value.integerFor example, Amount=10599 with DecimalPlaces="2" represents 105.99. To include this attribute to the PaymentCard element, you need to enable the feature: Include VCC current balance (res_virtual_credit_card_current_balance) using the Provider portal.
CurrencyCodeSpecifies the currency code (ISO 4217) of the virtual credit card's current balance.stringTo see this attribute in the response, you must enable the feature: Include VCC current balance (res_virtual_credit_card_current_balance) using the Provider portal.
VCCExpirationDateSpecifies the expiration date of the virtual credit card.stringThis attribute exist only for virtual credit cards. To see this attribute in the response, you must enable the feature: Include VCC current balance (res_virtual_credit_card_current_balance) using the Provider portal.
>>>>>>>> CardHolderNameSpecifies the credit card holder's name as supplied by the guest.objectIf you receive "-" as the value, then something went wrong when retrieving the holder's name. You can try retrieving the reservation again.
If the API returns NOCCRESERVATION, then the reservation message contains dummy credit card details.
> TotalSpecifies the total amount of room sales of this reservation.objectComputed as (all rooms * all nights combined). Note that there may be some excluded charges from this price. For more details, see the feature: Include price details (include_price_details) using the Provider portal.
AmountAfterTax/AmountBeforeTaxSpecifies the total price including taxes.integerIf the property has VAT set as included in the price, then the API returns AmountAfterTax, otherwise it returns AmountBeforeTax.
CurrencyCodeSpecifies the currency used for pricing.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integerFor example, Amount=13350 with DecimalPlaces="2" represents 133.50.
> HotelReservationIDsContains the reservations details.objectTo view the ResID_Source and ResID_Type child elements, enable the feature: OTA hotel reservation response token (ota_res_response_token).
> HotelReservationIDContains individual reservations message ID.object
ResID_ValueSpecifies the Booking.com reservation ID.string
ResID_DateSpecifies the reservation creation date and time value.datetime
> ProfilesContains booker details.object
>> ProfileInfoobject
>>> Profileobject
>>>> CustomerContains details about the booker.object
LanguageSpecifies the customer's preferred language of communication with the property.stringTo view this information, make sure to enable the feature: Include Preferred language in Customer (res_customer_preferred_lang).
Note: To enable/disable this feature, contact the Booking.com Connectivity Support team.
>>>>> PersonNameContains the booker's personal details such as name, phone number and address.object
>>>>>> GivenNameSpecifies the first name of the booker as filled by the booker on the website.objectNote that this doesn't have to be the same as the guest name(s).
>>>>>> SurnameSpecifies the last name of the booker as filled by the booker on the website.objectNote that this doesn't have to be the same as the guest name(s).
>>>>> TelephoneContains the telephone number details.object
PhoneNumberSpecifies the telephone number as supplied by the booker.string
>>>>> EmailSpecifies the email address supplied by the booker.objectUsed by Booking.com to send the reservation confirmation.
>>>>> AddressContains the home address details.object
>>>>>> AddressLineSpecifies the home address supplied by the booker.object
>>>>>> CityNameSpecifies the city of residence as supplied by the booker.object
>>>>>> PostalCodeSpecifies the zip / post code as supplied by the booker.object
>>>>>> CountryNameSpecifies the country code of residence as supplied by the booker.object
CodeSpecifies the country code of residence as supplied by the booker.string
>>>>>> CompanyNameSpecifies the company name as supplied by the booker.object
> TotalCommissionsContains commission details for all rooms in a reservation.objectTo view this and its child elements, make sure to enable the feature: Include total commission (include_total_commission).
> DepositPaymentsobjectTo view this and its child elements, make sure to enable the feature: Get extra information for reservations (res_extra_info).
RUIDSpecifies the unique request ID which is an encoded string.objectYou can share this ID with the Booking.com Connectivity Support team when you run into an issue. This can help in understanding what went wrong.

Include room-level guest counts (old)

When you enable the feature: Include room-level guest count old (childcount_per_room), the API returns the number of adults and children per room in the reservation along with age information.

ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>> TPA_ExtensionsContains additional reservation details for each booked room.object
>>> GuestCountsContains the number of adults and children per each room in the reservation.object
>>>> GuestCountContains the number of adults and children per room in the reservation.object
AgeQualifyingCodeSpecifies a code that represents the guest's age. Each code represents an age range.integerThe supported codes are:
10 - Adult.
8 - Child.
CountSpecifies the guest count.integer
AgeSpecifies the age of the child guests.integerOnly available when the AgeQualifyingCode = 8.

Include room-level guest count

When you enable the feature: Include room-level guest count (guestcount_per_room), the API returns the number of adults and children per room in the reservation along with age information.

ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>> GuestCountsContains the number of adults and children per each room in the reservation.object
>>> GuestCountContains the number of adults and children per room in the reservation.object
AgeQualifyingCodeSpecifies a code that represents the guest's age. Each code represents an age range.integerThe supported codes are:
10 - Adult.
8 - Child.
CountSpecifies the guest count.integer
AgeSpecifies the age of the child guests.integerOnly available when the AgeQualifyingCode = 8.

Include room-level occupancy

When you enable the feature: Include room-level occupancy (include_room_level_occupancy), the API returns the maximum occupancy for each room reservation. If the room has rate-level restrictions, then this is the maximum occupancy for that rate. In case of no rate-level restrictions, then this is the maximum occupancy of the room. It can be used to get the maximum occupancy of the room for a price.

ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>> OccupancyContains the maximum occupancy for each room reservation. If the room has rate level restrictions, then this is the maximum occupancy for that rate.integer

Add cancellation policy

When you enable the feature: Add cancellation policy details (res_cancel_policy_details), you can view the cancellation policy details assigned to the roomrate. The API also shows the grace period information for rooms with non-refundable roomrates.

ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>> CancelPenaltiesContains the cancellation penalty details.object
>>> CancelPenaltyContains the Booking.com cancellation policy code and its effective date.object
PolicyCodeSpecifies the Booking.com cancellation policy code.integer
FromSpecifies the start date and time from which the policy is in effect.datetime
UntilSpecifies the date and time until which the policy is in effect.datetime
>>>> AmountPercentContains the penalty amount.object
AmountSpecifies the cancellation fee (if applicable) expressed as a fixed amount, if the guests cancels the booking.integer
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
CurrencyCodeSpecifies the currency used for pricing the penalty.enumerated stringThis is always the same for a property and is set by Booking.com.

Include Payments Clarity Package V2

When the feature: Payments Clarity Package V2 (payment_clarity_package_v2) is enabled, you can view the following information in the response:

  • Price details: Contains information on specified taxes and charges.
  • Current balance: Specifies the current balance on the VCC.
  • Card expiration date: Specifies the date the VCC expires in YYYY-MM-DD format. This is Booking.com standard. ExpiryDate follows the physical credit card standard. Both refer to the same expiration date, but one is more specific.
  • Card activation date: Specifies the date the VCC was activated in YYYY-MM-DD format.
  • Withheld tax details: [Only for reservations on a property that is located in a region where Booking.com is obligated to withhold and remit taxes on behalf of the property] Specifies the total amount that Booking.com has withheld as tax for the reservation. You can identify this information where the TaxDescription > Text contains: Indirect Tax (Withheld Tax)

If the Provider XML setting: Dummy credit card on Last Minute No CC Reservations is turned on, then the API returns dummy credit card details on last minute or same day, or domestic bookers. You can notice that the card details are not real by looking for the following:

  • The VCC details are the same.
  • The credit card holder's name is NOCCRESERVATION.
  • The ExpireDate is one year from the date of reservation.

For more information on how to activate the Dummy credit card on Last Minute No CC Reservations XML setting, contact the Connectivity Support team.

ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>> PriceDetailsContains the guest and property-level price details for the reservation.object
>>> GuestViewContains the guest-level price details for the reservation.objectTypically, the charges listed under GuestView are also listed under HotelView.
- Handling fee waivers: If the property waives a specific charge, then the extra charge is excluded (Tax Type="Exclusive") from GuestView > Total amount and also excluded (Tax Type="Exclusive") from HotelView > Total amount.
- Handling tax amount: Where Booking.com handles tax amount and submits them directly to the tax authority on behalf of the property, then the extra charge is included (Tax Type="Inclusive") in the GuestView > Total but excluded (Tax Type="Exclusive") from the HotelView > Total amount.
- In few cases where Booking.com sponsors the extra charge, then the extra component would show as Tax Type="Exclusive" under the GuestView > Total amount, but Tax Type="Inclusive" under the HotelView > Total amount.
- If the guest has to pay a fee/charge and if the property has to be paid the extra amount, then the extra component would show as Type=Inclusive under the GuestView > Total amount, and Type=Inclusive under the HotelView > Total amount.
>>>> TaxesContains tax details.object
>>>>> TaxContains tax details.object
AmountSpecifies the tax amount.integer
ChargeFrequencySpecifies the charge frequency.enumerated integerFor a list of charge frequency code, see charge type codes.
CodeSpecifies the tax code.integerNote that we show the information in the preferred language of the property's primary point of contact. If you have implemented the Content API, then you can set the language under ContactInfos ... >... Language for the ContactProfileType as general via the OTA_HotelDescriptiveContentNotif endpoint. For a list of fee tax type codes, see Tax type codes.
CurrencyCodeSpecifies the currency used for pricing the room.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
TypeSpecifies whether this extra charge is included in the total amount.enumerated stringPossible values are:
- Inclusive: The extra charge is included in the total amount. Can also mean that the charge was collected from the guest.
- Exclusive: The extra charge is excluded from the total amount. Can also mean that the charge was not collected from the guest.
>>>>>> TaxDescriptionContains the tax description.object
>>>>>>> TextSpecifies the tax description.string
>>>> TotalContains the room price details.object
AmountSpecifies the total amount owed by or collected from the guest.integer
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
>>> HotelViewContains the property-level price details for the reservation.objectTypically, the charges listed under HotelView are also listed under GuestView.
- Handling fee waivers: If the property waives a specific charge, then the extra charge is excluded (Tax Type="Exclusive") from GuestView > Total amount and also excluded (Tax Type="Exclusive") from HotelView > Total amount.
- Handling tax amount: Where Booking.com handles tax amount and submits them directly to the tax authority on behalf of the property, then the extra charge is included (Tax Type="Inclusive") in the GuestView > Total but excluded (Tax Type="Exclusive") from the HotelView > Total amount.
- In few cases where Booking.com sponsors the extra charge, then the extra component would show as Tax Type="Exclusive" under the GuestView > Total amount, but Tax Type="Inclusive" under the HotelView > Total amount.
- If the guest has to pay a fee/charge and if the property has to be paid the extra amount, then the extra component would show as Type=Inclusive under the GuestView > Total amount, and Type=Inclusive under the HotelView > Total amount.
>>>> TaxesContains tax details.object
>>>>> TaxContains individual tax or fee details.object
AmountSpecifies the tax amount.integer
ChargeFrequencySpecifies the charge frequency.enumerated integerFor a list of charge frequency code, see charge type codes.
CodeSpecifies the tax code.integerNote that we show the information in the preferred language of the property's primary point of contact. If you have implemented the Content API, then you can set the language under ContactInfos ... >... Language for the ContactProfileType as general via the OTA_HotelDescriptiveContentNotif endpoint. For a list of fee tax type codes, see Tax type codes.
CurrencyCodeSpecifies the currency used for pricing the room.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
TypeSpecifies whether this extra charge is included in the total amount.enumerated stringPossible values are:
- Inclusive: The extra charge is included in the total amount owed to the property.
- Exclusive: The extra charge is excluded from the total amount owed to the property.
>>>>>> TaxDescriptionContains the tax description.object
>>>>>>> TextSpecifies the tax description.string
>>>> TotalContains the total room price details.object
AmountSpecifies the total amount owed to the property.integer
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer

Include virtual credit card information

When the feature: Payments Clarity Package (vcc_payment_v2) is enabled, you can view the following information in the response:

  • Price details: Contains information on specified taxes and charges.
  • Current balance: Specifies the current balance on the VCC.
  • Card expiration date: Specifies the date the VCC expires in YYYY-MM-DD format. This is Booking.com standard. ExpiryDate follows the physical credit card standard. Both refer to the same expiration date, but one is more specific.
  • Card activation date: Specifies the date the VCC was activated in YYYY-MM-DD format.

If the Provider XML setting: Dummy credit card on Last Minute No CC Reservations is turned on, then the API returns dummy credit card details on last minute or same day, or domestic bookers. You can notice that the card details are not real by looking for the following:

  • The VCC details are the same.
  • The credit card holder's name is NOCCRESERVATION.
  • The ExpireDate is one year from the date of reservation.

For more information on how to activate the Dummy credit card on Last Minute No CC Reservations XML setting, contact the Connectivity Support team.

ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>> Totalobject
AmountAfterTaxSpecifies the amount after tax.integer
CurrencyCodeSpecifies the currency used for pricing the commission.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
>>> TaxesContains tax details.object
AmountSpecifies the tax amount.integer
CurrencyCodeSpecifies the currency used for pricing the commission.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
>>>> TaxContains tax details.object
AmountSpecifies the tax amount.integer
ChargeFrequencySpecifies the charge frequency.enumerated integerFor a list of charge frequency code, see charge type codes.
CodeSpecifies the tax code.integerNote that we show the information in the preferred language of the property's primary point of contact. If you have implemented the Content API, then you can set the language under ContactInfos ... >... Language for the ContactProfileType as general via the OTA_HotelDescriptiveContentNotif endpoint. For a list of fee tax type codes, see Tax type codes.
CurrencyCodeSpecifies the currency used for pricing the commission.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
TypeSpecifies whether this extra charge is included in the total amount.enumerated stringPossible values are:
- Inclusive: The extra charge is included in the total amount.
- Exclusive: The extra charge is excluded from the total amount.
>>>> TaxDescriptionContains the tax description.object
>>>>> TextSpecifies the tax description.string

Include price details

When the feature: Include price details (include_price_details) is enabled, the API includes the VAT and city taxes details in the response. Properties can configure the setup of taxes and charges in the Booking.com Extranet. They can specify how VAT and city tax are calculated and can set up to 5 extra charges.

ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>> TotalContains the room price details.object
AmountAfterTaxSpecifies the amount after tax.integer
CurrencyCodeSpecifies the currency used for pricing the room.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
>>> TaxesContains tax details.object
AmountSpecifies the tax amount.integer
CurrencyCodeSpecifies the currency used for pricing the room.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
>>>> TaxContains tax details.object
AmountSpecifies the tax amount.integer
ChargeFrequencySpecifies the charge frequency.enumerated integerFor a list of charge frequency code, see charge type codes.
CodeSpecifies the tax code.integerFor a list of fee tax type codes, see Tax type codes.
CurrencyCodeSpecifies the currency used for pricing the room.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
TypeSpecifies whether this extra charge is included in the total amount.enumerated stringPossible values are:
- Inclusive: The extra charge is included in the total amount.
- Exclusive: The extra charge is excluded from the total amount.
>>>>> TaxDescriptionContains the tax description.object
>>>>>> TextSpecifies the tax description.string

Get extra information: Rate rewrite

When you enable the feature: Get extra information for reservations (res_extra_info), the API adds the following information to the reservation messages.

ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>> TPA_ExtensionsContains additional reservation details for each booked room.object
>>> RateRewriteContains the parent rate plan information when there is a rate rewrite.object
FromCodeSpecifies the rate ID of the booked rate of the room when the booked rate is rewritten from a parent rate.integer
FromNameSpecifies the name of the booked rate of the room when the booked rate is rewritten from a parent rate.string
ToCodeSpecifies the parent rate plan ID.integer
>>>> BookingConditionContains more information on the property's policy.objectNote that we show the information in the preferred language of the property's primary point of contact. If you have implemented the Content API, then you can set the language under ContactInfos ... >... Language for the ContactProfileType as general via the OTA_HotelDescriptiveContentNotif endpoint.
>>>>> RateGeniusContains whether the roomrate applied to the booking is a specially discounted genius rate.object
ValueSpecifies whether the roomrate applied to the booking is a specially discounted genius rate.booleanA reservation with the value set to false can show a genius discounted price, only if a genius discount has been added at the room level. For more information on how to set room-level genius rate discounts, see the Opportunities tab in the Extranet.
RateIdsSpecifies the rate category ID as known at the moment of reservation.integerIf the room is booked with a rate that is rewritten from a parent rate, the API specifies the rate category ID of the parent rate.

Get extra information: Services details

In addition to the rate rewrite information, when you enable the feature: Get extra information for reservations (res_extra_info), the API adds service details.

ElementAttributeDescriptionTypeNotes
> ServicesContains information about the services.object
>> ServiceContains information about individual services and freebies for guests who are Genius members.object
ServiceRPHSpecifies the index that links guests (ResGuest') to rooms (RoomStay`).object
ServiceInventoryCodeSpecifies the unique ID of the add-on.enumerated stringOnly returns an ID from the list of IDs in the ServiceInventoryCode table.
ServicePricingTypeSpecifies the pricing type code.enumerated stringOnly returns an ID from the list of IDs in the ServicePricingType table.
IDSpecifies the ID that represents the freebies for guests who are Genius members.enumerated string
InclusiveSpecifies whether the extra charge is included in the total amount.boolean
>>> ServiceDetailsContains the service details.enumerated stringThe service details can include one of the following values based on the pricing type code:
- GuestCount (number of guests).
- Timespan (number of nights).
- Fees (price to be paid for the add-ons).
>>>> SpecialRequestsContains any special requests selected by the guest.object
>>>>> SpecialRequestContains individual special requestsobject
NameSpecifies the service code.enumerated stringFor a full list of all available service names, see Service names/codes.
>>>>>> TextSpecifies the service descriptionenumerated stringFor a full list of all the available service descriptions, see Service names.
>>>> GuestCountsContains the guest count information.object
>>>>> GuestCountobject
CountSpecifies the guest count.integer
>>>>> TimeSpanContains the number of stay nights.object
DurationSpecifies the number of stay nights.integer
>>>>> FeesContains the price that the guest has to pay for the add-ons.object
>>>>>> FeeContains the price that the guest has to pay for the individual add-on.object
AmountSpecifies the price to be paid for the add-on.integer

Get extra information: Guest details

In addition to the rate rewrite and service details information, when you enable the feature: Get extra information for reservations (res_extra_info), the API:

  • Specifies whether the booker is travelling on business, including company name & tax.
  • Highlights whether the guest is a member of Booking.com's loyalty program, Genius and if they qualify for any available freebies, such as a welcome drink or a late check-out.
ElementAttributeDescriptionTypeNotes
RoomStaysContains the room reservation details.object
> RoomStayContains the room reservation details for each booked room.object
>>TPA_ExtensionsContains additional reservation details for each booked room.object
>>> reservation_extra_infoobject
bookerobject
>>>>> affiliationsContains the details of any affiliations that the person who made the booking might have.object
>>>>>> affiliationContains the company name and VAT number provided by the booker.object
nameSpecifies the company nameobject
numberSpecifies the VAT number for the company which the booker is affiliated to.object
numbertypeSpecifies the type. For example, vat.object
typeSpecifies the affiliation type. For example, company.enumerated string
>>>> flagsContains additional details about the booking.object
>>>>> flagobject
nameenumerated stringCan contain one of the following values:
- booker_is_genius: Indicates Whether the Booker is a member of Booking.com's loyalty program called Genius.
- no_cc_reservation: Indicates that the reservation doesn't need a credit card guarantee.
- no_address_reservation: Indicates that the reservation doesn't need to enter their address for the reservation.
- smart_flex_replacement_reservation: Indicates that Booking.com will provide an alternate reservation to the host if the guest cancels the reservation
- smart_flex_reservation: Indicates that Booking.com will pay the cancellation charge if guests cancel the reservation.

Get extra information: Include deposit payments

In addition to the rate rewrite and all the above mentioned details, when you enable the feature: Get extra information for reservations (res_extra_info), the API also specifies any prepayment details, if applicable for the reservation.

ElementAttributeDescriptionTypeNotes
ResGlobalInfoContains additional details on special requests.object
> DepositPaymentsContains information about the payment of the reservation. Booking.com can now take payments from the guest on behalf of the property. Specifies the payout type such as bank transfer or virtual credit card.object
>> GuaranteePaymentIf the reservation doesn't require a prepayment, the payment section is omitted. (only the tag is returned)object
GuaranteeTypeSpecifies the guarantee payment type.stringCurrently supports the value PrePay.
>>> DescriptionContains payout type information.object
>>>> TextSpecifies the payment and payment options such as bank transfer or virtual credit card.object
>>>> AmountPercentContains the prepayment amount.object
AmountSpecifies the prepayment amount.integer
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
CurrencySpecifies the currency used for the prepayment amount.enumerated stringThis is always the same for a property and is set by Booking.com.

Include reservation response token

When you enable the feature: OTA hotel reservation response token (ota_res_response_token), the API response includes a new HotelReservationID tag for every reservation that includes a token in OTA responses. The token identifies the message the provider is replying to, so that the Booking.com system can then acknowledge that a message has been received by the provider.

ElementAttributeDescriptionTypeNotes
ResGlobalInfoContains more details on special requests.object
> HotelReservationIDsContains the reservations details.object
> HotelReservationIDContains individual reservation message details.objectWhen the OTA hotel reservation response token feature is enabled, the API returns an additional HotelReservationID element with an alphanumeric value in the ResID_Value, if the API detects changes to the reservation details since the last retrieval.
ResID_SourceOnly available when the OTA hotel reservation response token feature is enabled. Specifies the reservation source.stringTo create a custom ResID_Source value, you must enable the connection setting "Include ResID_Source information in HotelReservationID". For more information on how to enable this setting, contact the Booking.com Connectivity Support team.
ResID_TypeOnly available when the OTA hotel reservation response token feature is enabled. Specifies the Booking.com reservation type.integerCan contain the following values:
- 14: new reservation
- 18: reservation was modified since the last retrieval.
ResID_ValueSpecifies the Booking.com reservation ID.stringCan contain 2 entries if the API detects that a reservation was changed before the provider could acknowledge the booking. While acknowledging a changed reservation, you must provide both the ResID_Values.
ResID_DateSpecifies the reservation creation date and time value.datetime

Include reservation-level guest count

When you enable the feature: Include reservation-level guest count (childcount), the API returns the number of adults and children (with their ages) that the booker searched for when making the booking. This information is added to the reservation message.

Disable Include room-level guest count

Before enabling this feature, make sure to disable the feature: Include room-level guest count (guestcount_per_room). If both the features are enabled, the API shows only the room-level guest count.

ElementAttributeDescriptionTypeNotes
ResGlobalInfoContains additional details on special requests.object
> GuestCountsContains the number of adults and children (with their ages) per room reservation.object
>> GuestCountContains the number of adults and ages of individual children included while searching for a reservation.integer
AgeQualifyingCodeSpecifies a code that represents the guest's age. Each code represents an age range.integerThe supported codes are:
10 - Adult
8 - Child
CountSpecifies the guest count.integer
AgeSpecifies the age of the child guests.integer

Include reservation-level commission

When you enable the feature: Include total commission (include_total_commission), the API returns the total commission amount for all rooms for all nights of a reservation.

By default, the API displays the commission amount per room stay under the RoomStay element. A single reservation can include multiple room stays. But by enabling this feature, you can get the total commission amount for all rooms for all nights of the reservation.

You can use this value to check the commission amount calculated, as some non-refundable reservations may be eligible for commission even if the reservation was modified or cancelled.

ElementAttributeDescriptionTypeNotes
ResGlobalInfoContains additional details on special requests.object
> TotalCommissionsContains commission details for all rooms in a reservation.object
>> CommissionPayableAmountSpecifies the total commission for all rooms in a reservation.object
AmountSpecifies the total commission amount.integer
DecimalPlacesSpecifies the position of the decimal point (from right to left) in the total commission amount.integer
CurrencyCodeSpecifies the currency used for pricing the commission.enumerated stringThis is always the same for a property and is set by Booking.com.
>> CommentSpecifies a comment.object

Include payment charges

When you enable the feature: ReservationsAPI Payment Charges (res_payment_charges), the API includes the following details for reservations that are paid through the PayByBooking payment method.

ElementAttributeDescriptionTypeNotes
ResGlobalInfoContains additional details on special requests.object
> Totalobject
AmountAfterTaxSpecifies the total including taxes.integer
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer
CurrencyCodeSpecifies the currency used for pricing the commission.enumerated stringThis is always the same for a property and is set by Booking.com.
>> TPA_ExtensionsContains additional reservation details for each booked room.object
>>> TPA_ExtensionContains additional reservation details for each booked room.object
>>>> PaymentChargeContains the payment charge details.object
Amountinteger
CurrencyCodeSpecifies the currency used for pricing the charge.enumerated stringThis is always the same for a property and is set by Booking.com.
DecimalPlacesSpecifies the number of decimal places to represent the minor unit of a particular currency.integer

Include dummy credit card details for bank transfer payout

Enable this feature only if the property's payout method is set to bank transfer (BT).

If you enable the feature: Include dummy CC details for bank transfer payout (res_dummy_cc_on_bt), the API returns dummy credit card details in reservation messages when guests pay through an alternate payment method.

You can notice that the card details are not real by looking for the following:

  • The VCC details are the same.
  • The credit card holder's name is NOCCRESERVATION.
  • The ExpireDate is one year from the date of reservation.
ElementAttributeDescriptionTypeNotes
ResGlobalInfoContains more details on the reservation.objectThis includes comments, reservation ID, and details of the individual who made the reservation.
>>>> PaymentCardContains payments information.object
CardCodeSpecifies dummy credit card issuer details.enumerated string
CardNumberSpecifies dummy credit card number.string
SeriesCodeSpecifies dummy credit card CVC code.string
ExpireDateSpecifies dummy credit card expiration date.datetime
>>>>>>>> CardHolderNameSpecifies NOCCRESERVATION as the credit card holder's name.objectApplicable only for reservations paid through an alternate payment method.

Service names

The following table lists all the services code names and their associated descriptions. Based on the code in the response, you can identify the available services supported by the property for a specific reservation.

Code NameDescription
GF_1Early check in
GF_2Free airport shuttle
GF_3Free drink upon arrival
Gf_4Free bike rental
GF_5Give Genius guests 2 extra hours to check out
GF_6Free breakfast
GF_7Free parking on availability
GF_8Free Wifi

Service type ID

The following table lists all the services and their associated IDs. Based on the ID(s) in the response, you can identify the services or add-ons supported by the property for a reservation.

Service Type IDService Name
1Late Check-out
2Early Check-in
3Late Check-in
4Champagne
5Wine
6Flowers
7Attraction
8Airport Shuttle
9Parking
10Massage
11Facial
12Body
13Christmas
14New Year
15Celebration Package
16Ski Pass

Available price modes

The following table lists all the price modes and their corresponding IDs. Based on the ID in the response, you can identify the price mode that was used to calculate the room price for a reservation.

IDPrice mode
0Not applicable
1Per stay
2Per person per stay
3Per night
4Per person per night
5Percentage
6Per person per night restricted

Addon types

The following table lists all the addons and their respective IDs.

IDName
1Breakfast
2Continental breakfast
3American breakfast
4Buffet breakfast
5Full english breakfast
6Lunch
7Dinner
8Half board
9Full board
11Breakfast for Children
12Continental breakfast for Children
13American breakfast for Children
14Buffet breakfast for Children
15Full english breakfast for Children
16Lunch for Children
17Dinner for Children
18Half board for Children
19Full board for Children
20WiFi
21Internet
22Parking space
23Extrabed
24Babycot

Quick Actions

→ To know more about how to acknowledge new reservation messages, see Acknowledging new reservations.
→ For troubleshooting information, see Troubleshooting and list of error codes.