API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
percentage_nightly1
Fields
typestring
required
value: percentage_nightly
start_date_timestring
required
The time at which the penalty will take effect, in the property's timezone.
nightly_percentageinteger · int32
required
The percentage of a single night to charge the guest for cancelling. e.g. on a $900 booking for 4 nights, with PercentageNightly(90%) and the guest cancels within the penalty period,
- penalty is: $900 / 4 * 0.9 = $202.50
- user is refunded $900 - $202.50 = $697.50
Example
{
"type": "string",
"start_date_time": "2025-07-12T16:00:00",
"nightly_percentage": 1
}