The below represent some different response models for reservations. Please note that multiple reservation child elements of different status element types can be mixed in a single reservation's response element.
Response Model — No Pending New, Modified, Cancelled Reservations
Sample Success Response
{
"reservations": []
}
Response Model — New Reservation Confirmation
Attributes
booked_atdate (Optional)
Date when the booking has been made.
commissionamount integer (Required)
The total commission a hotel has to pay to OTA per complete reservation.
Min:1 Max:1
currencycodestring (Required)
Currency code in which the booking has been made.
paymenttypestring (Required)
Payment type for the booking.
hotel_idalphanumeric (Required)
The hotel id as used by IT Provider.
Maximum 20 characters allowed.
Min:1 Max:1
hotel_namealphanumeric (Required)
The hotel name as used by IT Provider.
Min:1 Max:1
paymentdueinteger (Required)
The payment due details ** Currently only supported by Hostel world.
Min:1 Max:1
customer object
The corporate_booking_detail element contains the corporate level B2B booking details for taxation and billing.
Attribute
addressstring (Required)
The address of the booker.
Min:1 Max:1
cc_cvcinteger (Required)
CVC number of the credit card.
Min:1 Max:1
cc_expiration_datedatetime (Required)
The expiration date of the credit card.
Min:0 Max:1
Format MMYY
cc_namestring (Required)
Name of the credit card holder.
Min:1 Max:1
cc_numberinteger (Required)
The number of the credit card.
Min:1 Max:1
cc_typestring (Required)
The type of credit card.
Min:1 Max:1
cc_current_balancestring (Required)
Current balance of virtual credit card allocated by OTA.
Min:1 Max:1
cc_activation_datestring (Required)
The activation date of the virtual credit card allocated by OTA.
Min:1 Max:1
Format Date: YYYY-MM-DD
vcc_expiration_datestring (Required)
The expiration date of the virtual credit card allocated by OTA.
Min:1 Max:1
Format Date: YYYY-MM-DD
cc_tokenstring (Required)
The token of credit card.
Min:1 Max:1
cc_token_expirationdate (Required)
The expiry date of cc token generated.
Min:1 Max:1
cc_unique_codestring (Required)
cc unique code - Value is assigned if Partner is integrated with Airpay payment gateway. Otherwise, empty node is passed.
Min:1 Max:1
citystring (Required)
The city where the booker is from.
Min:1 Max:1
statestring (Required)
The state where the booker is from.
Min:1 Max:1
countrycodestring (Required)
The country code of the country where the booker is from.
Min:1 Max:1
emailstring (Required)
Email address supplied by the customer.
Min:1 Max:1
first_namestring (Required)
First name of the booker as supplied by the customer.
Min:1 Max:1
last_namestring (Required)
Last name of the booker as supplied by the customer.
Min:1 Max:1
remarksstring (Required)
Remarks regarding this reservation, supplied by the customer.
Min:1 Max:1
telephonestring (Required)
Telephone number as supplied by the customer.
Min:1 Max:1
zipstring (Required)
Zip / Postal code as supplied by the customer.
Min:1 Max:1
cc_vault_tokennumeric (Required)
Token for cc number.
Min:1 Max:1
cc_tracking_idstring (Required)
Tracking id for cc details.
Min:1 Max:1
rooms object
Attribute
arrival_datedatetime (Required)
Date of arrival of the guests.
Min:1 Max:1
Format - YYYY-MM-DD
departure_datedatetime (Required)
Date of departure of the guests.
Min:1 Max:1
Format - YYYY-MM-DD
infostring (Required)
Extra information for the room.
Min:1 Max:1
facilitiesstring (Required)
Information over facilities included for the room (if allocated).
Min:1 Max:1
specialrequeststring (Required)
Special request made while making booking for the room (if allocated).
Min:1 Max:1
etanumerical (Required)
Estimate time for check in for this reservation as filled in on the website.
Min:1 Max:1
guest_namestring (Required)
Guest name for this reservation as filled in on the website.
Min:1 Max:1
first_namestring (Required)
Guest's First name for this reservation as filled in on the website.
Min:1 Max:1
last_namestring (Required)
Guest's Last name for this reservation as filled in on the website.
Min:1 Max:1
id alphanumeric (Required)
The room type ID as used by IT Provider.
Min:1 Max:1
max_childreninteger (Required)
The number of children included in the booked room.
Min:0 Max:1
numberofguestsinteger (Required)
It is the number of guests for this reservation as filled by the booker.
Min:1 Max:1
numberofchildreninteger (Required)
It is the number of children for this reservation as filled by the booker.
Min:1 Max:1
numberofadultsinteger (Required)
It is the number of adults for this reservation as filled by the booker.
Min:1 Max:1
roomstaystatusstring (Required)
The roomstaystatus ('new', 'modified' 'request' or 'cancelled') identifies the stay whether it is new, modified, request or cancelled.
Min:1 Max:1
roomreservation_idstring (Required)
The room reservation ID as used by STAAH to identify the booked room within the reservation.
Min:1 Max:1
totalbeforetax integer (Required)
Total booking value before applying the taxes.
Min:1 Max:1
totaltaxinteger (Required)
The total amount of tax for this reservation. All rooms * all nights combined.
Min:1 Max:1
totalpriceinteger (Required)
The total price for this room before tax(s) for all nights combined, sum of all prices known at the moment of reservation (Before Taxes). Note that there may be some excluded charges from this price.
Min:1 Max:1
pricealphanumeric (Required)
Price and rate category ID per night as known at the moment of reservation. The currency used for pricing is always the same for the hotel and set by OTA.
Min:1 Max:unbounded
amountdouble (Required)
It contains the amount of per day pricing.
Value for this parameter will be numeric with possible decimal point.
Min:1 Max:unbounded
datealphanumeric (Required)
Date and time
Format: YYYY-MM-DD
rate_idalphanumeric (Required)
Rate category ID per night as known at the moment of reservation.
mealplan_idinteger (Required)
Meal plan ID per night as known at the moment of reservation.
Min:1 Max:1
mealplanalphanumeric (Required)
Meal plan name per night as known at the moment of reservation.
Min:1 Max:1
taxinteger (Required)
Tax amount per night of reservation (Date wise).
Min:1 Max:1
pricebeforetaxalphanumeric (Required)
Room rate amount per night of reservation before tax(s)(Date wise).
Min:1 Max:1
priceaftertaxalphanumeric (Required)
Room rate amount per night of reservation after tax(s)(Date wise).
Min:1 Max:1
adults alphanumeric (Required)
It is the name of additional adult/s for this reservation as filled by the booker.
Min:0 Max:1
addons alphanumeric (Required)
Additional services added to the reservation.
Min:0 Max:1
name string (Required)
The add-on name, in English.
Min:0 Max:1
nightsinteger (Required)
Number of nights this customer has booked the addon for.
Min:0 Max:1
priceperunitinteger (Required)
The unitary price for this add-on.
Min:0 Max:1
pricemodeinteger (Required)
An integer identifying the price mode (per stay, per night, per person per night). See table below for the values.
Min:0 Max:1
ID
PRICE MODE
0
Not applicable
1
Per stay
2
Per person per stay
3
Per night
4
Per person per night
5
Percentage
6
Per person per night restricted
priceinteger (Required)
The total calculated price for the add-on, taking into consideration the price mode.
Min:0 Max:1
Taxes array
This array represents the detailed information about the taxes applied to an item (such as a room booking, product, or service). Each object in the taxes array includes the name and value of the tax. See below attributes:
Attributes
namestring (Optional)
The name or description of the tax.
Example Values:
"Slab %": Indicates a slab-based tax, possibly percentage-based where the rate varies based on predefined slabs or tiers.
"Flat %": Indicates a flat rate percentage tax, where a constant percentage is applied.
valuestring (Optional)
The value of the tax. This usually represents a percentage rate.
extracomponentsalphanumeric (Required)
The tag contains details of all Extra / Other charges charged on a room. It is a room level value allocated from OTA and might vary as per rooms booked for multiple room reservation scenario.
bed_typealphanumeric (Required)
The tag contains details of bed type.
affiliation object
Source Information of reservation.
Attribute
posstring (Required)
Point of sale of reservation.
Min:1 Max:1
sourcestring (Required)
Source of reservation.
Min:1 Max:1
OTA_Codenumber (Required)
Source of reservation code or OTA code.
gstnoalphanumeric (Required)
GST No. of the company for B2B booking.
Min:1 Max:1
companyname string (Required)
Name of B2B booking company (as allocated from OTA).
Min:1 Max:1
companyaddressstring (Required)
Address of B2B company (As allocated from OTA).
chain_idalphanumeric (Required)
The chain id allocated from IT provider for the property
external_idalphanumeric (Required)
Instant booking reference - In the event of a property migrating from Instant (STAAH product) to Su.
otaduestring (Required)
The amount OTA needs to pay to the property for the booking.
Min:1 Max:1
sellamountinteger (Required)
The sell amount of room of this reservation (Same value as of tag "totalprice"). All rooms * all nights combined including Taxes.
Min:1 Max:1
confirmationlink
The url through which one can confirm / deny the request of booking coming from VRBO. Only available under "request" booking from VRBO.
Min:1 Max:1
payment_chargenumeric (Required)
Min:1 Max:1
channel_booking_idalphanumeric (Required)
Booking reference number of OTA.
Min:1 Max:1
thread_idalphanumeric (Required)
The thread ID as allocated by OTA / Channel (Supported by Airbnb only).
Min:1 Max:1
guest_idalphanumeric (Required)
The guest ID as allocated by OTA / Channel (Supported by Airbnb only).
Min:1 Max:1
numberofpetsnumeric (Required)
The number of pets as allocated by OTA / Channel.
Min:1 Max:1
numberofinfants numeric (Required)
The number of infants as allocated by OTA / Channel.
Min:1 Max:1
listingbasepricenumeric (Required)
Base price of the listing allocated from OTA / Channel (Supported by Airbnb Only).
Min:1 Max:1
processed_atdatetime (Required)
Date and Time Stamp (HH:MM:SS) when the booking was processed (GMT Time).
Min:1 Max:1
Format - Date Time
depositnumeric (Required)
Deposit collected for a booking made / received.
Min:1 Max:1
cancellation_feenumeric (Required)
Deposit collected for a booking made / received.
Min:1 Max:1
vendor_booking_idstring (Required)
The vendor booking id provided by some of the OTAs. (Empty node will be passed if no value received from OTA for booking)
idalphanumeric (Required)
The reservation ID as used by STAAH.
reservation_notif_idstring (Required)
The reservation notification ID used to mark reservation as received.
Min:1 Max:1
modified_atdate(Required)
Date when the status is modified.
statusstring (Required)
The reservation status ('new', 'modified' or 'cancelled').
Min:1 Max:1
totalpriceinteger (Required)
The total amount of room sales of this reservation. All rooms * all nights combined including Taxes. Note that there may be some excluded charges from this price.
Min:1 Max:1
totaltaxinteger (Required)
The total amount of tax for this reservation. All rooms * all nights combined.
Min:1 Max:1
discountdouble (Required)
Discount amount received from OTA.
Min:1 Max:1
extrafees object
Information of extra fees charged on booking
** Currently only supported by Airbnb. If no value allocated or for other channels, the node will be passed empty as "extrafees": [], and "taxes": []
Attribute
namestring (Required)
Name of the extra fee charged.
Min:1 Max:1
amountstring (Required)
Amount charged as extra fee.
Min:1 Max:1
taxes object
Information of taxes charged on booking
** Currently only supported by Airbnb. If no value allocated or for other channels, the node will be passed empty as <taxes></taxes>
{
"reservations": [
{
"booked_at": "2020-08-24",
"commissionamount": "28.6",
"currencycode": "NZD",
"paymenttype": "Hotel Collect",
"hotel_id": "KC",
"hotel_name": "Kings Cross",
"paymentdue": "",
"customer": {
"address": "24th Street",
"cc_cvc": "",
"cc_expiration_date": "0225",
"cc_name": "JASON",
"cc_number": "4111111111111111",
"cc_type": "VI",
"cc_current_balance": "",
"cc_activation_date": "",
"vcc_expiration_date": "",
"cc_token": "",
"cc_token_expiration": "",
"cc_unique_code": "",
"city": "Auckland",
"state": "",
"countrycode": "New Zealand",
"email": "no-reply@suissu.com",
"first_name": "Sam",
"last_name": "Thomas",
"remarks": "Approximate time of arrival: between 17:00 and 18:00Are double beds available?",
"telephone": "1234566789",
"zip": "12345",
"cc_vault_token": "",
"cc_tracking_id": ""
},
"rooms": [
{
"arrival_date": "2020-09-10",
"departure_date": "2020-09-12",
"info": "This modern room is equipped with a work desk and a flat-screen TV with satellite channels. Enjoy a convenient Breakfast at the property for USD 18 per person, per night. Children and Extra Bed Policy: Children cannot be accommodated at the hotel. There is no capacity for extra beds in the room. Deposit Policy: 100 percent of the first night may be charged anytime after booking. Cancellation Policy: If cancelled or modified up to 1 day before the date of arrival, no fee will be charged. If cancelled or modified later or in case of no-show, 100 percent of the first night will be charged.",
"facilities": "No Smoking Meal plan :Enjoy a convenient Breakfast at the property for USD 18 per person, per night. rewritten_from_name : SECRET DEAL genius_rate : no",
"taxes": [
{
"name": "Slab %",
"value": "175.0"
},
{
"name": "Flat %",
"value": "353.5"
}
],
"specialrequest": "",
"eta": "",
"guest_name": "Sam Thomas",
"first_name": "Sam",
"last_name": "Thomas",
"id": "STD",
"max_children": "0",
"numberofguests": "2",
"numberofchildren": "0",
"numberofadults": "2",
"roomstaystatus": "cancelled",
"roomreservation_id": "1598272591656",
"totalbeforetax": "286",
"totaltax": "0",
"totalprice": "286",
"price": [
{
"amount": "174.49",
"date": "2020-09-10",
"rate_id": "BAR",
"mealplan_id": "1",
"mealplan": "All inclusive",
"tax": "0",
"pricebeforetax": "125",
"priceaftertax": "125"
},
{
"date": "2020-09-11",
"rate_id": "BAR",
"mealplan_id": "1",
"mealplan": "All inclusive",
"tax": "0",
"pricebeforetax": "125",
"priceaftertax": "125"
}
],
"adults": [
"XXX XXX",
"YYY YYY"
],
"addons": [
{
"name": "Breakfast",
"nights": "2",
"priceperunit": "18.00",
"pricemode": "4",
"price": "36",
"taxes": [
{
"name": "Slab %",
"value": "175.0"
},
{
"name": "Flat %",
"value": "353.5"
}
]
}
]
}
],
"extracomponents": [],
"bed_type": "Queen",
"affiliation": {
"pos": "Expedia",
"source": "expedia",
"OTA_Code": "9",
"gstno": "010101ABCD",
"companyname": "UltraTech",
"companyaddress": "Noida, Uttar Pradesh"
},
"chain_id": "Chain1",
"external_id": "",
"otadue": "",
"nettamount": "160.00",
"sellamount": "532",
"cancelreason": "",
"confirmationlink": "",
"payment_charge": "",
"channel_booking_id": "180538ABD2269",
"thread_id": "20101986",
"guest_id": "101986",
"numberofpets": "",
"numberofinfants": "",
"listingbaseprice": "110",
"processed_at": "2021-08-13 05:43:10",
"deposit": "10.20",
"cancellation_fee": "",
"vendor_booking_id": "122543543",
"id": "040736750_KC",
"reservation_notif_id": "159827327984387346046",
"modified_at": "2020-08-24",
"status": "cancelled",
"totalprice": "286",
"totaltax": "5",
"discount": "28.2",
"extrafees": [
{
"name": "Airbnb Service",
"amount": "22.05"
},
{
"name": "Airbnb S1ervice",
"amount": "22.05"
}
],
"taxes": [
{
"name": "VAT/GST (Ptt_authority_175960)",
"amount": "43.22"
},
{
"name": "Tourist Tax (Ptt_authority_175961)",
"amount": "20.00"
}
]
}
]
}
Response Model — Multiple Room Reservation
Sample Success Response
{
"reservations": [
{
"booked_at": "2020-08-24",
"commissionamount": "31.6",
"currencycode": "NZD",
"paymenttype": "Channel Collect",
"hotel_id": "KC",
"hotel_name": "Kings Cross",
"paymentdue": "",
"customer": {
"address": "24th Street",
"cc_cvc": "",
"cc_expiration_date": "0225",
"cc_name": "JASON",
"cc_number": "4111111111111111",
"cc_type": "VI",
"cc_current_balance": "",
"cc_activation_date": "",
"vcc_expiration_date": "",
"cc_token": "",
"cc_token_expiration": "",
"cc_unique_code": "",
"city": "Auckland",
"state": "",
"countrycode": "New Zealand",
"email": "no-reply@suissu.com",
"first_name": "Paul",
"last_name": "Chris",
"remarks": "Approximate time of arrival: between 17:00 and 18:00. Are double beds available?",
"telephone": "123456789",
"zip": "12345",
"cc_vault_token": "",
"cc_tracking_id": ""
},
"rooms": [
{
"arrival_date": "2020-08-24",
"departure_date": "2020-08-25",
"info": "This modern room is equipped with a work desk and a flat-screen TV with satellite channels. Enjoy a convenient Breakfast at the property for USD 18 per person, per night. Children and Extra Bed Policy: Children cannot be accommodated at the hotel. There is no capacity for extra beds in the room. Deposit Policy: 100 percent of the first night may be charged anytime after booking. Cancellation Policy: If cancelled or modified up to 1 day before the date of arrival, no fee will be charged. If cancelled or modified later or in case of no-show, 100 percent of the first night will be charged.",
"facilities": "No Smoking Meal plan: Enjoy a convenient Breakfast at the property for USD 18 per person, per night. rewritten_from_name: SECRET DEAL genius_rate: no",
"taxes": [
{
"name": "Slab %",
"value": "175.0"
},
{
"name": "Flat %",
"value": "353.5"
}
],
"specialrequest": "",
"eta": "",
"guest_name": "Paul Chris",
"first_name": "Paul",
"last_name": "Chris",
"id": "STD",
"max_children": "0",
"numberofguests": "2",
"numberofchildren": "0",
"numberofadults": "2",
"roomstaystatus": "new",
"roomreservation_id": "1598274401030",
"totalbeforetax": "261",
"totaltax": "5",
"totalprice": "266",
"price": [
{
"amount": "174.49",
"date": "2020-08-24",
"rate_id": "BAR",
"mealplan_id": "1",
"mealplan": "All inclusive",
"tax": "4",
"pricebeforetax": "136",
"priceaftertax": "140"
}
],
"adults": [
"XXX XXX",
"YYY YYY"
],
"addons": [
{
"name": "Breakfast",
"nights": "1",
"priceperunit": "18.00",
"pricemode": "4",
"price": "18",
"taxes": [
{
"name": "Slab %",
"value": "175.0"
},
{
"name": "Flat %",
"value": "353.5"
}
]
}
]
},
{
"arrival_date": "2020-08-26",
"departure_date": "2020-08-27",
"info": "This modern room is equipped with a work desk and a flat-screen TV with satellite channels. Enjoy a convenient Breakfast at the property for USD 18 per person, per night. Children and Extra Bed Policy: Children cannot be accommodated at the hotel. There is no capacity for extra beds in the room. Deposit Policy: 100 percent of the first night may be charged anytime after booking. Cancellation Policy: If cancelled or modified up to 1 day before the date of arrival, no fee will be charged. If cancelled or modified later or in case of no-show, 100 percent of the first night will be charged.",
"facilities": "No Smoking Meal plan: Enjoy a convenient Breakfast at the property for USD 18 per person, per night. rewritten_from_name: SECRET DEAL genius_rate: no",
"specialrequest": "",
"eta": "",
"guest_name": "Paul Chris",
"first_name": "Paul",
"last_name": "Chris",
"id": "STD1",
"max_children": "0",
"numberofguests": "2",
"numberofchildren": "0",
"numberofadults": "2",
"roomstaystatus": "new",
"roomreservation_id": "1598274398684",
"totalbeforetax": "261",
"totaltax": "5",
"totalprice": "266",
"price": [
{
"date": "2020-08-26",
"rate_id": "BAR",
"mealplan_id": "1",
"mealplan": "All inclusive",
"tax": "4",
"pricebeforetax": "136",
"priceaftertax": "140"
}
],
"adults": [
"XXX XXX",
"YYY YYY"
],
"addons": [
{
"name": "Breakfast",
"nights": "1",
"priceperunit": "18.00",
"pricemode": "4",
"price": "18",
"taxes": [
{
"name": "Slab %",
"value": "175.0"
},
{
"name": "Flat %",
"value": "353.5"
}
]
}
]
}
],
"extracomponents": [
{
"name": "service charge",
"value": "108"
}
],
"bed_type": "Queen",
"affiliation": {
"pos": "Expedia",
"source": "expedia",
"OTA_Code": "9",
"gstno": "010101ABCD",
"companyname": "UltraTech",
"companyaddress": "Noida, Uttar Pradesh"
},
"chain_id": "Chain1",
"external_id": "",
"otadue": "",
"nettamount": "160.00",
"sellamount": "532",
"cancelreason": "",
"confirmationlink": "",
"payment_charge": "",
"channel_booking_id": "180538ABD2269",
"thread_id": "20101986",
"guest_id": "101986",
"numberofpets": "",
"numberofinfants": "",
"listingbaseprice": "110",
"processed_at": "2021-08-13 05:43:10",
"deposit": "10.20",
"cancellation_fee": "",
"vendor_booking_id": "122543543",
"id": "232368879_KC",
"reservation_notif_id": "159827439307556534166",
"modified_at": "2020-08-24",
"status": "new",
"totalprice": "532",
"totaltax": "10",
"discount": "28.2",
"extrafees": [],
"taxes": []
}
]
}
Payment charged from OTA on the booking. Currently data is being allocated by only.
System allows to have multiple rooms to be booked under same reservation with different Guest, Check In/Out dates, Room type, Rate Plan, etc. These reservations can be retrieved through the same API request. Refer to for reference.