API reference

HTS APIs

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

Schema

cancellation_request

Cancel a confirmed booking order using token generated at precancel stage

Fields

request_id
string · uuid
required

Unique value used to identify this request. If provided to us during operational questions, it will help us provide better support.

Example 123e4567-e89b-12d3-a456-426614174000
cancellation_token
string
required

Opaque token generated at cancellation quote time. Important: the token is bound to the application that pre-cancelled. Call /cancel with the API key of that same application, otherwise the request is rejected with 403 token_application_mismatch.

Example string

Used by

POST/api/lodging/v1/cancelCancel a booking order
Example
{
  "request_id": "123e4567-e89b-12d3-a456-426614174000",
  "cancellation_token": "string"
}