HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
data3
The webhook payload.
Fields
contractThe exercised contract.
Show fields
idCFAR contract ID
pricePrice for CFAR.
Show fields
total_amountThe total amount for CFAR, including base and taxes.
base_amountThe base amount for CFAR.
taxesThe taxes for this price.
Show fields
codeCode representing this tax.
amountTotal amount of the tax.
payoutBreakdown of what will be paid upon exercise.
Show fields
amountThe maximum amount to issue to the user if they exercise CFAR.
percentageThe payout defined as a percentage of the unit's booking_amount. Must be a number between 0 and 100.
price_includedIf CFAR price is included in the payout amount.
expires_atThe instant the purchased contract will expire as a UTC (RFC3339) datetime.
statusCurrent status of the contract.
draftedconfirmedexercisedvoidedcanceledcurrencyCurrency of all money values in this contract. 3-letter ISO 4217 code.
unit_reservation_id The ID of the unit reservation (in the partner's system) associated with this contract.
For single-unit bookings, this may be the same as reservation_id.
agent_commissionCommission payable to the travel agent.
Show fields
amountMonetary amount payable to the agent, in the offer's currency.
payable_dateInforms the agent of when their commission becomes payable — agents should not expect payment before this date. Commissions are not paid if the reservation is cancelled - the traveller must check-in.
exerciseDetails of how the contract was exercised.
Show fields
idThe ID of the quoted exercise. Use this to fulfill the exercise.
currencyThe currency all payments are in.
user_outcomeThe outcome that the user will receive if they exercise CFAR.
Show fields
total_payout_amountTotal amount user will receive upon exercising CFAR. Sum of all other payments in this model.
payouts_from_partnerPayments that will be paid out by the partner.
Show fields
type:alternate_payment_method (alternate_payment_method) alternate_payment_method
typeA payment that cannot be tokenized. eg: ApplePay.
amountloyalty_program (loyalty_program) loyalty_program
typevalue: loyalty_program
amountnameThe name of the of the loyalty program, e.g. points, miles, cash_rewards, etc. Required, to ensure that the amounts are refunded to the same loyalty program used during purchase.
unitsThe unit to currency exchange rate is implicit from the amount in the Payment object and this number of points.
not_provided (not_provided2) not_provided2
typevalue: not_provided
amountpayment_card (payment_card) payment_card
reseller_controlled (reseller_controlled) reseller_controlled
typeThe partner does not charge the user directly and thus does not have payment information.
amountpayout_from_htsPayment that will be paid out by HTS.
Show fields
amountpayout_from_lodging Payment that will be paid out by the lodging property directly to the user.
This may only be defined if merchant_of_record_on_reservation is lodging.
expires_atThe date and time at which this quote expires as a UTC (RFC3339) datetime. After this time, a new quote must be created.
partner_outcomeThe outcome that the partner will receive if reservation is cancelled.
Show fields
payout_from_lodging The amount that the partner is expected to receive from the lodging property if the reservation is cancelled.
This may only be defined if merchant_of_record_on_reservation is partner.
{
"contract": {
"id": "string",
"price": {
"total_amount": "12.00",
"base_amount": "10.00",
"taxes": [
{
"code": "VAT",
"amount": "20.00"
}
]
},
"payout": {
"amount": "450",
"percentage": 100,
"price_included": true
},
"expires_at": "2026-12-10T15:00:00Z",
"unit_reservation_id": "string",
"status": "drafted",
"agent_commission": {
"amount": "1.20",
"payable_date": "2026-08-15"
},
"currency": "USD"
},
"exercise": {
"id": "string",
"currency": "USD",
"user_outcome": {
"total_payout_amount": "173.24",
"payouts_from_partner": [
{
"type": "alternate_payment_method",
"amount": "173.24",
"method": {
"type": "apple_pay"
}
}
],
"payout_from_hts": {
"amount": "string"
},
"payout_from_lodging": "string"
},
"partner_outcome": {
"payout_from_lodging": "string"
},
"expires_at": "2026-12-10T15:00:00Z"
}
}