API reference

HTS APIs

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

Schema

penalty

Penalty applied to the refund amount, if applicable.

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",
  "amount": "string"
}