API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
exchange_eligibility
Fields
eligibleboolean
required
Whether the order is eligible for exchange
Example
truetypestring enum
free: No change fee (airline FTC policy or fare rules).fee: Change fee applies. Thepenaltyfield contains the fee amount when the provider reports it upfront; otherwise it is omitted and the exact fee appears on each offer during exchange shopping.
Values
freefee · Example feepenaltyobject
Exchange penalty amount, if known at eligibility time. Some providers only determine the penalty during exchange shopping; in that case this field is omitted and the fee appears on each exchange offer.
Show fields
currencystring
required
ISO 4217 currency code
Length ≥ 3, ≤ 3 · Pattern
^[A-Z]{3}$ · Example USDbase_amountstring
required
The base fare amount before taxes as a decimal string.
Example
120.00total_amountstring
required
The total amount as a decimal string (base_amount + taxes_and_fees).
Example
150.00taxes_and_fees_amountstring
required
The total amount of taxes and fees as a decimal string.
Example
30.00taxes_and_feesarray of charge
required
Itemized taxes and fees breakdown.
Show fields
Array of charge · Itemized taxes and fees breakdown.
codestring
required
Charge code identifier (e.g., IATA tax/fee codes)
Example
YQamountstring
required
Charge amount as a decimal string
Example
15.00Example
{
"eligible": true,
"type": "fee",
"penalty": {
"currency": "USD",
"base_amount": "120.00",
"total_amount": "150.00",
"taxes_and_fees_amount": "30.00",
"taxes_and_fees": [
{
"code": "YQ",
"amount": "15.00"
}
]
}
}