API reference

HTS APIs

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

Schema

cancellation_response

Response for the cancellation operation

Fields

order_status
order_status · one of 2
required

Describes the status of a order.

  • confirmed - order was booked successfully
  • cancelled - order was cancelled successfully

This is a non-exhaustive list of enum values, which may be extended in the future."

Show fields

Describes the status of a order.

  • confirmed - order was booked successfully
  • cancelled - order was cancelled successfully

This is a non-exhaustive list of enum values, which may be extended in the future."

Exactly one of the following, selected by type:
cancelled (order_status_cancelled) order_status_cancelled
type
string enum
required

Discriminator value for cancelled order status

Values cancelled · Example cancelled
cancellation_info
cancellation_info · one of 2
required

Information on a cancelled order

Show fields

Information on a cancelled order

Exactly one of the following, selected by type:
hotel (cancellation_info_hotel) cancellation_info_hotel
type
string enum
required

Discriminator value identifying this cancellation info type.

Values hotel
vacation_rental (cancellation_info_vacation_rental) cancellation_info_vacation_rental
type
string enum
required

Discriminator value identifying this cancellation info type.

Values vacation_rental
instigator
string enum
required

Indicates who initiated the cancellation.

Values guesthost · Example guest
guest_refund_amount
object

The amount refunded to the guest for the cancelled vacation rental

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
confirmed (order_status_confirmed) order_status_confirmed
type
string enum
required

Discriminator value for confirmed order status

Values confirmed · Example confirmed
response_id
string · uuid
required

Unique identifier of the specific response. Use this identifier when you need to refer to a specific response, when requiring technical support.

Example 123e4567-e89b-12d3-a456-426614174000
Example
{
  "order_status": {
    "type": "cancelled",
    "cancellation_info": {
      "type": "hotel",
      "cancellation_datetime": "2025-02-17T18:31:15.523Z"
    }
  },
  "response_id": "123e4567-e89b-12d3-a456-426614174000"
}