HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
/offers/{id}QuoteGet CFAR Offer
Get CFAR offer.
Parameters
idThe ID of the CFAR offer.
display_currencyOptional display-only currency (3-letter ISO 4217). When supplied and different from the offer currency, the response includes a converted display_details object. The contract currency and amounts are never changed.
Responses
200The CFAR offer
idID of this CFAR offer.
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.
currencyCurrency of all money values in this offer. 3-letter ISO 4217 code.
expires_atThe instant at which this offer expires as a UTC (RFC3339) datetime. After this time, a new offer must be created.
contract_expires_atIf this offer is purchased, this is the instant the purchased contract will expire as a UTC (RFC3339) datetime.
pricedWhether this is a priced offer or not. A priced offer is required to create an order.
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.
rate_idThe rate this offer belong to.
unit_idThe unit this offer belong to.
display_detailsDisplay-only converted view of the offer's monetary values, present when the requested display currency differs from currency.
Show fields
display_currencyDisplay-only currency the monetary values were converted to. 3-letter ISO 4217 code.
display_priceDisplay-only CFAR price, converted to displayCurrency.
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.
display_payoutDisplay-only payout, converted to displayCurrency.
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.
display_exchange_rateExchange rate (multiplier) used to convert from the offer currency to displayCurrency.
400Syntactic errors were encountered while handling the request
messagecodeExample
[
{
"message": "string",
"code": "string"
}
]401The client could not be authenticated
403The authenticated client does not have permission to call this endpoint
404The requested resource could not be found
422Semantic errors were encountered while handling the request
code:invalid_token (invalid_token1) invalid_token1
messageA human-readable message describing the error
codeExample
[
{
"message": "string",
"code": "string"
}
]499The client cancelled the request
500The server encountered an internal error
curl -X GET "https://fintech.staging.htsapis.com/lodging-cfar/v2/offers/<id>" \
-H "X-Api-Key: $HTS_API_KEY"{
"id": "AJsheH2bNOQkxlIgwWSAQlxTeNz0PuQI4JF173CQ8qrI3BFHomJrBkQgqD6n7b-T8XutyEjE7bbUocCcqL1WHt0CINBNotBQAS0QiKg",
"price": {
"total_amount": "12.00",
"base_amount": "10.00",
"taxes": [
{
"code": "VAT",
"amount": "20.00"
}
]
},
"payout": {
"amount": "450",
"percentage": 100,
"price_included": true
},
"agent_commission": {
"amount": "1.20",
"payable_date": "2026-08-15"
},
"currency": "USD",
"expires_at": "2026-12-10T15:00:00Z",
"contract_expires_at": "2026-12-10T15:00:00Z",
"priced": true,
"rate_id": "string",
"unit_id": "string",
"display_details": {
"display_currency": "CAD",
"display_price": {
"total_amount": "12.00",
"base_amount": "10.00",
"taxes": [
{
"code": "VAT",
"amount": "20.00"
}
]
},
"display_payout": {
"amount": "450",
"percentage": 100,
"price_included": true
},
"display_exchange_rate": "1.322067"
}
}Examples are generated from the schema where the spec publishes none; field values are illustrative.
