API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
void_policy
The void policy for the slice, describing whether and how long a booking can be voided after purchase. If not specified, the void policy is unknown.
Fields
The void policy for the slice, describing whether and how long a booking can be voided after purchase. If not specified, the void policy is unknown.
Exactly one of the following, selected by
type:allowed (allowed) allowed
typestring
required
value: allowed
allowed_for (allowed_for) allowed_for
typestring
required
value: allowed_for
durationstring
required
The duration after booking during which the booking can be voided, as an ISO 8601 duration.
allowed_until (allowed_until) allowed_until
typestring
required
value: allowed_until
expires_atstring · date-time
required
The point in time until which the booking can be voided, as a UTC RFC3339 formatted datetime.
not_allowed (not_allowed) not_allowed
typestring
required
value: not_allowed
Example
{
"type": "string"
}