HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
from_booking_data
Booking information is provided inline by the partner.
Use this variant when HTS cannot retrieve the booking from the partner's systems;
prefer from_booking_references whenever it can.
Fields
typevalue: from_booking_data
booking_dataThe details of the confirmed booking.
Show fields
check_in_dateThe date the guest checks in.
check_out_dateThe date the guest checks out.
currencyThe currency the guest was charged in. 3-letter ISO 4217 code.
propertyThe property that was booked.
Show fields
idThe ID of the property in the partner's system.
property_nameThe name of the property.
country_codeThe country the property is in, as an ISO 3166-1 alpha-2 code (2 letters, upper case).
chain_nameThe name of the property's chain.
ratesThe rates that were booked, each with the unit it was booked for, its price breakdown and its cancellation penalty. A single-room booking has exactly one; a multi-room booking has one per booked room.
Show fields
idThe ID of the booked rate in the partner's system, as sent at offer creation.
unit_idThe ID of the booked unit in the partner's system, as sent at offer creation.
priceThe price breakdown for this rate.
Show fields
base_amountThe base amount, this includes the provider's base charge and any markup.
taxes_amountThe amount of taxes.
fees_amountThe amount of fees.
payment_scheduleThe payment schedule for when the payments will be collected from the user. The sum of amounts must sum up to the full price of the reservation.
Show fields
amountAmount that the user will be charged.
scheduleThe schedule for when this payment will be collected. Use:
pay_now: for payments collected during bookingpay_at_check_in: for payments collected directly by the property at or after check-in timepay_later: for anything in between
Show fields
cancellation_penaltyThe cancellation penalty for this rate. Use:
non_refundableif the rate is not refundable starting from booking time (i.e., if the user cancels right after booking, they won't get any refund)refundablefor anything else
Show fields
The cancellation penalty for this rate. Use:
non_refundableif the rate is not refundable starting from booking time (i.e., if the user cancels right after booking, they won't get any refund)refundablefor anything else
type:non_refundable (non_refundable1) non_refundable1
typevalue: non_refundable
refundable (refundable1) refundable1
typevalue: refundable
penaltiesThe cancellation penalties for this rate. If the rate is fully refundable until check-in, send an empty array. Otherwise, send a list of penalties that will be applied upon cancelling the reservation.
For a list of penalties, they represent a timeline and the latest active penalty will be applied. e.g. on a $900 booking for 4 nights, with penalties:
- PercentageNightly(01/01/2050, 25%)
- PercentageNightly(01/05/2050, 50%)
If the guest cancels on:
- 01/03/2050, penalty is: $900 / 4 * 0.25 = $56.25 (user is refunded $843.75)
- 01/05/2050, penalty is: $900 / 4 * 0.5 = $112.50 (user is refunded $787.50)
Show fields
channelThe partner's channel the booking was made through.
Show fields
The partner's channel the booking was made through.
type:agent_reseller (agent_reseller) agent_reseller
typevalue: agent_reseller
agency_idThe ID of the agency.
agentThe agent operating the session. Expected from every agent portal integration.
Show fields
idThe ID of the agent.
account_created_atWhen the agent's account was created in the partner's system, in UTC.
verification_status The partner's verification status for this agent. An opaque partner assertion: this API does not define
what a partner must do to assert verified. Partners that run no verification programme send not_supported.
verifiedunverifiednot_supportedapi (api) api
typevalue: api
clientThe client name of the API.
direct (direct) direct
typevalue: direct
online_booking_tool (online_booking_tool) online_booking_tool
typevalue: online_booking_tool
travel_management_companyThe name of the travel management company.
businessThe name of the business.
white_label (white_label) white_label
typevalue: white_label
brandThe brand name of the white label partner.
booking_referencesIDs that are relevant to the booking. It's a dictionary of key/value pairs. Check with HTS for examples of supported keys.
occupancyThe occupancy that was booked.
Show fields
num_adultsThe number of adults the user is booking for.
num_childrenThe number of children the user is booking for.
num_unitsThe number of units the user is booking.
user_idThe ID of the user who made the booking.
{
"type": "string",
"booking_data": {
"check_in_date": "2026-09-12",
"check_out_date": "2026-09-14",
"currency": "USD",
"property": {
"id": "12345",
"property_name": "Fairmont Copley Plaza Boston",
"chain_name": "Fairmont",
"country_code": "US"
},
"rates": [
{
"id": "rate-bar-flex",
"unit_id": "unit-king-lux",
"price": {
"base_amount": "100.24",
"taxes_amount": "23.91",
"fees_amount": "10.00",
"payment_schedule": [
{
"amount": "1.23"
}
]
},
"cancellation_penalty": {
"type": "string"
}
}
],
"occupancy": {
"num_adults": 1,
"num_children": 1,
"num_units": 1
},
"channel": {
"type": "string",
"agency_id": "858695eb-db27-406a-b9dd-a76af17b7d1c",
"agent": {
"id": "a420c244-06c0-40cf-b004-a1f390f069cc",
"account_created_at": "2026-08-14T09:31:00Z",
"verification_status": "verified"
}
},
"booking_references": {},
"user_id": "33bb4eb2-2937-4bd3-97b1-7796206712f0"
}
}