API reference

HTS APIs

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

Schema

cfar_exercise

Details of how the contract was exercised.

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

The method of payment.

Exactly one of the following, selected by type:
apple_pay (apple_pay) apple_pay
other (other) other
paypal (paypal) paypal
venmo (venmo) venmo
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
Exactly one of the following, selected by type:
details (details) details
token (token) token
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

The method of payment.

Exactly one of the following, selected by type:
apple_pay (apple_pay) apple_pay
other (other) other
paypal (paypal) paypal
venmo (venmo) venmo
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
Exactly one of the following, selected by type:
details (details) details
token (token) token
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
{
  "id": "string",
  "contract_id": "string",
  "payouts": [
    {
      "type": "string",
      "amount": "string"
    }
  ]
}