API reference

HTS APIs

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

Schema

PenaltyRange

Fields

start_time
string · date-time
required

Start time of the penalty range (Inclusive), in ISO 8601 format

Example 2020-01-01T00:00:00Z
end_time
string · date-time
required

End time of the penalty range (Exclusive), in ISO 8601 format

Example 2020-01-02T00:00:00Z
penalty
object
required

Monetary amount withheld from the client if cancellation falls within this range

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
Example
{
  "start_time": "2020-01-01T00:00:00Z",
  "end_time": "2020-01-02T00:00:00Z",
  "penalty": {
    "currency": "USD",
    "amount": "123.45"
  }
}