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_timestring · date-time
required
Start time of the penalty range (Inclusive), in ISO 8601 format
Example
2020-01-01T00:00:00Zend_timestring · date-time
required
End time of the penalty range (Exclusive), in ISO 8601 format
Example
2020-01-02T00:00:00Zpenaltyobject
required
Monetary amount withheld from the client if cancellation falls within this range
Show fields
currencystring
required
Currency code, in ISO 4217 format.
Pattern
^[A-Z]{3}$ · Example USDamountstring
required
Monetary amount value Serialized BigDecimal value
Example
123.45Example
{
"start_time": "2020-01-01T00:00:00Z",
"end_time": "2020-01-02T00:00:00Z",
"penalty": {
"currency": "USD",
"amount": "123.45"
}
}