API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
pricing
The price breakdown for this rate.
Fields
base_amountstring
required
The base amount, this includes the provider's base charge and any markup.
Range ≥ 0
taxes_amountstring
required
The amount of taxes.
Range ≥ 0
fees_amountstring
required
The amount of fees.
Range ≥ 0
payment_schedulearray of payment_schedule1
The 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
Array of payment_schedule1 · The 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.
amountstring
required
Amount that the user will be charged.
Range ≥ 0
scheduleschedule1 · one of 3
required
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
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
Exactly one of the following, selected by
type:pay_at_check_in (pay_at_check_in1) pay_at_check_in1
typestring
required
value: pay_at_check_in
pay_later (pay_later1) pay_later1
typestring
required
value: pay_later
duestring · date
required
Date at which the user will be charged, in the timezone of the property.
pay_now (pay_now1) pay_now1
typestring
required
value: pay_now
Example
{
"base_amount": "100.24",
"taxes_amount": "23.91",
"fees_amount": "10.00",
"payment_schedule": [
{
"amount": "1.23",
"schedule": {
"type": "string"
}
}
]
}