API reference

HTS APIs

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

Schema

cancel_booking_request

Request sent by HTS to cancel a lodging booking.

Fields

unit_booking_ids
array of string
required

IDs of the unit bookings (rooms) to cancel.

payouts
array of cancel_booking_payout
required

Payout instructions for refunding the customer.

Show fields
Array of cancel_booking_payout · Payout instructions for refunding the customer.
amount
string
required

Refund amount.

Range ≥ 0
type
string enum
required

Payment method type for this payout.

Values payment_cardnot_provided

Used by

POST/cancel_bookingCancel Booking
Example
{
  "unit_booking_ids": [
    "string"
  ],
  "payouts": [
    {
      "amount": "250.00",
      "type": "payment_card"
    }
  ]
}