API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

display_details

Display-only converted view of the offer's monetary values, present when the requested display currency differs from currency.

Fields

display_currency
string
required

Display-only currency the monetary values were converted to. 3-letter ISO 4217 code.

display_price
cfar_price
required

Display-only CFAR price, converted to displayCurrency.

Show fields
total_amount
string
required

The total amount for CFAR, including base and taxes.

base_amount
string
required

The base amount for CFAR.

taxes
array of tax

The taxes for this price.

Show fields
Array of tax · The taxes for this price.
code
string
required

Code representing this tax.

Length ≥ 1
amount
string
required

Total amount of the tax.

display_payout
payout
required

Display-only payout, converted to displayCurrency.

Show fields
amount
string
required

The maximum amount to issue to the user if they exercise CFAR.

percentage
integer · int32
required

The payout defined as a percentage of the unit's booking_amount. Must be a number between 0 and 100.

price_included
boolean
required

If CFAR price is included in the payout amount.

display_exchange_rate
string
required

Exchange rate (multiplier) used to convert from the offer currency to displayCurrency.

Example
{
  "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"
}