API reference

HTS APIs

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

Schema

contract_exercised_webhook_data

The webhook payload.

Fields

contract
cfar_contract
required

The exercised contract.

Show fields
id
string
required

Unique ID for a contract.

status
string enum
required

Current status of the contract.

Values canceledconfirmeddraftedexercisedexpiredvoided
price
contract_price
required

The price breakdown of the product.

Show fields
total_amount
string
required

Total amount to be paid for the product, including taxes.

Range ≥ 0
base_amount
string
required

Amount to be paid for the product, excluding taxes.

Range ≥ 0
taxes
array of tax
Items ≥ 1
Show fields
Array of tax
Items ≥ 1
code
string
required

Code representing this tax.

Length ≥ 1
amount
string
required

Total amount of the tax.

payout
payout
required

The payout to be issued to the user upon exercise.

Show fields
amount
string
required

The total amount to be paid out upon exercise.

percentage
integer · int32
required

The percentage of the booking to be paid out upon exercise.

Range ≥ 0, ≤ 100
price_included
boolean
required

If the product price is included in the product payout amount.

currency
string
required

Currency of all pricing fields within the contract.

expires_at
string · date-time
required

Date and time at which the contract will expire, once purchased, as a UTC RFC3339 formatted datetime.

booking_references
map_string
required

Record locators if PSS, Order ID if OMS, etc. Used to retrieve the flight booking later. It's a dictionary of key/value pairs. The keys can be anything, but they are referenced in the configuration when retrieving the booking, so those must align.

exercises
array of cfar_contract_exercise
required

Exercises completed for this contract.

Show fields
Array of cfar_contract_exercise · Exercises completed for this contract.
id
string
required

Unique identifier for this exercise.

exercised_at
string · date-time
required

Date and time at which the exercise was completed, as a UTC RFC3339 formatted datetime.

payouts
array of cfar_exercise_payout
required

The payouts issued for this exercise.

Items ≥ 1
Show fields
Array of cfar_exercise_payout · one of 2 · The payouts issued for this exercise.
Items ≥ 1

The method by which the payout will be be delivered to the customer.

Exactly one of the following, selected by type:
future_travel_credit (future_travel_credit) future_travel_credit
type
string
required

value: future_travel_credit

amount
string
required

The amount of the payout.

original_form_of_payment (original_form_of_payment) original_form_of_payment
type
string
required

value: original_form_of_payment

payment
refundable_payment · one of 5
required

DEPRECATED: The payment details for this payout.

Show fields
payout
refundable_payment · one of 5
required

The payment details for this payout.

Show fields
passenger_ids
array of string

Identifier for each passenger exercised. Omitted only when identifiers are unavailable.

Items ≥ 1
exercise
cfar_exercise
required

Details of how the contract was exercised.

Show fields
id
string
required

Unique identifier for this exercise.

contract_id
string
required

The contract that was exercised.

payouts
array of cfar_exercise_payout
required

The payouts issued to the customer.

Items ≥ 1
Show fields
Array of cfar_exercise_payout · one of 2 · The payouts issued to the customer.
Items ≥ 1

The method by which the payout will be be delivered to the customer.

Exactly one of the following, selected by type:
future_travel_credit (future_travel_credit) future_travel_credit
type
string
required

value: future_travel_credit

amount
string
required

The amount of the payout.

original_form_of_payment (original_form_of_payment) original_form_of_payment
type
string
required

value: original_form_of_payment

payment
refundable_payment · one of 5
required

DEPRECATED: The payment details for this payout.

Show fields

DEPRECATED: The payment details for this payout.

Exactly one of the following, selected by type:
alternate_payment_method (alternate_payment_method) alternate_payment_method
type
string
required

A payment that cannot be tokenized. eg: ApplePay.

amount
string
required
method
method · one of 4
required

The method of payment.

Show fields
loyalty_program (loyalty_program) loyalty_program
type
string
required

value: loyalty_program

amount
string
required
name
string
required

The 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.

Length ≥ 1
units
string
required

The 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
type
string
required

value: not_provided

amount
string
required
payment_card (payment_card) payment_card
type
string
required

A credit or debit card. Must be tokenized (refer to above documentation).

amount
string
required
identifier
identifier · one of 2
required
Show fields
reseller_controlled (reseller_controlled) reseller_controlled
type
string
required

The partner does not charge the user directly and thus does not have payment information.

amount
string
required
payout
refundable_payment · one of 5
required

The payment details for this payout.

Show fields

The payment details for this payout.

Exactly one of the following, selected by type:
alternate_payment_method (alternate_payment_method) alternate_payment_method
type
string
required

A payment that cannot be tokenized. eg: ApplePay.

amount
string
required
method
method · one of 4
required

The method of payment.

Show fields
loyalty_program (loyalty_program) loyalty_program
type
string
required

value: loyalty_program

amount
string
required
name
string
required

The 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.

Length ≥ 1
units
string
required

The 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
type
string
required

value: not_provided

amount
string
required
payment_card (payment_card) payment_card
type
string
required

A credit or debit card. Must be tokenized (refer to above documentation).

amount
string
required
identifier
identifier · one of 2
required
Show fields
reseller_controlled (reseller_controlled) reseller_controlled
type
string
required

The partner does not charge the user directly and thus does not have payment information.

amount
string
required
Example
{
  "contract": {
    "id": "1ec9eed3-4486-6460-9d6c-2fb8469d35db",
    "status": "Confirmed",
    "price": {
      "total_amount": "40.80",
      "base_amount": "30.20",
      "taxes": [
        {
          "code": "VAT",
          "amount": "20.00"
        }
      ]
    },
    "payout": {
      "amount": "400.00",
      "percentage": 80,
      "price_included": false
    },
    "currency": "CAD",
    "expires_at": "2020-12-20T12:15:48Z",
    "booking_references": {},
    "exercises": [
      {
        "id": "string",
        "exercised_at": "2026-12-10T15:00:00Z",
        "payouts": [
          {
            "type": "string",
            "amount": "string"
          }
        ],
        "passenger_ids": [
          "string"
        ]
      }
    ]
  },
  "exercise": {
    "id": "string",
    "contract_id": "string",
    "payouts": [
      {
        "type": "string",
        "amount": "string"
      }
    ]
  }
}