API reference

HTS APIs

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

Schema

refundable

Fields

type
string
required

value: refundable

method
string enum
required

The method by which the refund will be processed.

Values original_form_of_paymentfuture_travel_credit
penalty
penalty · one of 2

Penalty applied to the refund amount, if applicable.

Show fields

Penalty applied to the refund amount, if applicable.

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

value: fee

amount
string
required

A fixed monetary penalty amount.

percentage (percentage) percentage
type
string
required

value: percentage

value
string
required

A percentage-based penalty calculated from the fare amount.

Range ≤ 100
Example
{
  "type": "string",
  "method": "original_form_of_payment",
  "penalty": {
    "type": "string",
    "amount": "string"
  }
}