API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
cancellation_policy
Defines the terms and conditions for canceling a vehicle rental.
Fields
penalty_rangesarray of object
required
Items ≥ 1
Show fields
Array of object
Items ≥ 1
start_timestring · date-time
required
Start time of the penalty range (Inclusive), in ISO 8601 format.
end_timestring · date-time
required
End time of the penalty range (Exclusive), in ISO 8601 format.
penaltyobject
required
Penalty amount withheld form the client upon cancellation.
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
{
"penalty_ranges": [
{
"start_time": "2025-01-21T00:00:00Z",
"end_time": "2025-01-26T00:00:00Z",
"penalty": {
"currency": "USD",
"amount": "0.00"
}
},
{
"start_time": "2025-01-26T00:00:00Z",
"end_time": "2025-01-27T00:00:00Z",
"penalty": {
"currency": "USD",
"amount": "75.00"
}
},
{
"start_time": "2025-01-27T00:00:00Z",
"end_time": "2025-01-28T00:00:00Z",
"penalty": {
"currency": "USD",
"amount": "135.00"
}
}
]
}