HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
fast_lodging_unit
Fields
idThe ID of the unit in the partner's system.
property_idThe ID of the lodging this unit belongs to in the partner's system.
ratesThe available rates the user can book. Required.
Show fields
idThe unique identifier for this rate.
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
The 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
type:pay_at_check_in (pay_at_check_in) pay_at_check_in
pay_later (pay_later) pay_later
pay_now (pay_now) pay_now
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_refundable) non_refundable
typevalue: non_refundable
refundable (refundable) refundable
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
type:fixed (fixed) fixed
number_of_nights (number_of_nights) number_of_nights
percentage_nightly (percentage_nightly) percentage_nightly
percentage_total (percentage_total) percentage_total
unit_nameThe name of the unit.
{
"id": "string",
"property_id": "string",
"rates": [
{
"id": "string",
"price": {
"base_amount": "100.24",
"taxes_amount": "23.91",
"fees_amount": "10.00",
"payment_schedule": [
{
"amount": "1.23",
"schedule": {
"type": "pay_at_check_in"
}
}
]
},
"cancellation_penalty": {
"type": "string"
}
}
],
"unit_name": "King Room with Luxury Bathroom"
}