HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
/offersOtherCreate CFAR Offers
Create CFAR offers for a user's shopped lodging units.
Request body application/json · required
session_idIdentifies a single shopping funnel, from the initial search through to booking. A new search (including changing the search parameters) begins a new funnel with a new id.
check_in_dateThe date the guest checks in.
check_out_dateThe date the guest checks out.
currencyThe currency all rates are in and what the user will be charged in. 3-letter ISO 4217 code.
channelThe partner's channel that is interacting with the API.
Show fields
The partner's channel that is interacting with the API.
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.
unitsThe list of available units the user can book. Required.
Show 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
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
unit_nameThe name of the unit.
occupancyThe occupancy for this search.
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.
propertiesThe properties referenced by the units in this request. Can be empty if property data is synced out-of-band.
Show fields
idThe ID of the property in the partner's system.
property_nameThe name of the property.
check_in_timeThe earliest local time the guest may check in.
addressThe property's address.
Show fields
street_addressThe street address.
localityThe city, town, or village.
country_codeThe 2 uppercase letter ISO country code.
coordinatesThe property's coordinates.
Show fields
latitudelongituderegionThe state, province, territory, or region.
postal_codeThe postal or zip code.
chain_nameThe name of the property's chain.
star_ratingThe property's star rating, 1 through 5.
max_synthetic_rate_offers_per_unitMax number of synthetic rate offers to return per unit. (default = 1).
max_ancillary_offers_per_rateMax number of ancillary offers to return per rate. (default = 0)
return_full_ancillary_offerBy default, only the IDs of ancillary offers are returned in the response. If you need the full offer details, set this to true, but beware that it will increase response size and thus may increase latency. (default = false)
user_idThe ID of the user making the request.
priced Type of offer requested; priced or not.
A priced offer can be used to create an order, but has lower rate limits and adds a bit of latency.
If the offer is made on rates that are repriced later in the flow then it's best to
keep it as false and then call the Price Offers endpoint later in the flow.
But if the rate already has the final price then setting this to true returns offers
that are priced and can therefore be used as-is in the Create Order endpoint.
(default = false)
billing_jurisdiction Billing information of the user buying the product(s).
Recommended for accurate tax calculations at the price offer step,
especially if HTS is merchant of record, to avoid corrections at the Create Order step.
This information is usually not known at this step of the flow,
but if the offers are created deep in the funnel it might be available.
If setting priced=true, then it's important to use this information here to have accurate pricing.
Otherwise it's optional and the taxes are approximated based on lodging location.
Show fields
countryCountry of the customer billing address. 2 uppercase letter ISO country code.
[A-Z]{2}state_provinceState or province of the customer billing address.
cityCity of the customer billing address.
postal_codePostal code of the customer billing address.
Responses
201The created CFAR offers
synthetic_rate_offersList of synthetic rate CFAR offers generated for a given set of rates.
Show fields
idID of this CFAR offer.
rate_idThe rate this offer belongs to.
property_idThe property this offer belongs to.
unit_idThe unit this offer belongs to.
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.
ancillary_offer_groupsAncillary CFAR offers generated for a given set of rates.
Show fields
rate_idThe rate these offers belong to.
unit_idThe unit these offers belong to.
offersCFAR ancillary offers to use if the user selects this rate for this unit.
Show fields
CFAR ancillary offers to use if the user selects this rate for this unit.
type:full_offer (full_offer) full_offer
typevalue: full_offer
offersShow fields
idID of this CFAR offer.
pricePrice for CFAR.
Show fields
payoutBreakdown of what will be paid upon exercise.
Show fields
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
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
id (id) id
typevalue: id
idsmerchandising_urlMicro-site URL for offer merchandising.
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
422Semantic errors were encountered while handling the request
code:invalid_stay_dates (invalid_stay_dates) invalid_stay_dates
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 POST "https://fintech.staging.htsapis.com/lodging-cfar/v2/offers" \
-H "X-Api-Key: $HTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"session_id": "c17aff84-7581-461e-8505-002d15ac368a",
"check_in_date": "2025-07-12",
"check_out_date": "2025-07-13",
"units": [
{
"id": "string",
"property_id": "string",
"rates": [
{
"id": "string",
"price": {
"base_amount": "100.24",
"taxes_amount": "23.91",
"fees_amount": "10.00",
"payment_schedule": [
{}
]
},
"cancellation_penalty": {
"type": "string"
}
}
],
"unit_name": "King Room with Luxury Bathroom"
}
],
"occupancy": {
"num_adults": 1,
"num_children": 1,
"num_units": 1
},
"properties": [
{
"id": "12345",
"property_name": "Fairmont Copley Plaza Boston",
"check_in_time": "16:00:00",
"chain_name": "Fairmont",
"star_rating": "4",
"address": {
"street_address": "138 St James Ave",
"locality": "Boston",
"country_code": "US",
"region": "MA",
"postal_code": "02116",
"coordinates": {
"latitude": 42.349218117059806,
"longitude": -71.07616071007658
}
}
}
],
"currency": "USD",
"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"
}
},
"max_synthetic_rate_offers_per_unit": 1,
"max_ancillary_offers_per_rate": 1,
"return_full_ancillary_offer": true,
"user_id": "33bb4eb2-2937-4bd3-97b1-7796206712f0",
"priced": true,
"billing_jurisdiction": {
"country": "US",
"state_province": "string",
"city": "string",
"postal_code": "string"
}
}'{
"synthetic_rate_offers": [
{
"id": "AJsheH2bNOQkxlIgwWSAQlxTeNz0PuQI4JF173CQ8qrI3BFHomJrBkQgqD6n7b-T8XutyEjE7bbUocCcqL1WHt0CINBNotBQAS0QiKg",
"rate_id": "string",
"property_id": "string",
"unit_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
},
"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
}
],
"ancillary_offer_groups": [
{
"rate_id": "string",
"unit_id": "string",
"offers": {
"type": "string",
"offers": [
{
"id": "AJsheH2bNOQkxlIgwWSAQlxTeNz0PuQI4JF173CQ8qrI3BFHomJrBkQgqD6n7b-T8XutyEjE7bbUocCcqL1WHt0CINBNotBQAS0QiKg",
"price": {},
"payout": {},
"agent_commission": {},
"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": {}
}
]
},
"merchandising_url": "string"
}
]
}Examples are generated from the schema where the spec publishes none; field values are illustrative.
