API reference

HTS APIs

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

Schema

booking_data

The details of the confirmed booking.

Fields

check_in_date
string · date
required

The date the guest checks in.

check_out_date
string · date
required

The date the guest checks out.

currency
string
required

The currency the guest was charged in. 3-letter ISO 4217 code.

property
booking_property
required

The property that was booked.

Show fields
id
string
required

The ID of the property in the partner's system.

property_name
string
required

The name of the property.

Length ≥ 1
country_code
string
required

The country the property is in, as an ISO 3166-1 alpha-2 code (2 letters, upper case).

Length ≥ 1
chain_name
string

The name of the property's chain.

Length ≥ 1
rates
array of booking_rate
required

The rates that were booked, each with the unit it was booked for, its price breakdown and its cancellation penalty. A single-room booking has exactly one; a multi-room booking has one per booked room.

Show fields
Array of booking_rate · The rates that were booked, each with the unit it was booked for, its price breakdown and its cancellation penalty. A single-room booking has exactly one; a multi-room booking has one per booked room.
id
string
required

The ID of the booked rate in the partner's system, as sent at offer creation.

unit_id
string
required

The ID of the booked unit in the partner's system, as sent at offer creation.

price
pricing
required

The price breakdown for this rate.

Show fields
base_amount
string
required

The base amount, this includes the provider's base charge and any markup.

Range ≥ 0
taxes_amount
string
required

The amount of taxes.

Range ≥ 0
fees_amount
string
required

The amount of fees.

Range ≥ 0
payment_schedule
array of payment_schedule1

The payment schedule for when the payments will be collected from the user. The sum of amounts must sum up to the full price of the reservation.

Show fields
Array of payment_schedule1 · The payment schedule for when the payments will be collected from the user. The sum of amounts must sum up to the full price of the reservation.
amount
string
required

Amount that the user will be charged.

Range ≥ 0
schedule
schedule1 · one of 3
required

The schedule for when this payment will be collected. Use:

  • pay_now: for payments collected during booking
  • pay_at_check_in: for payments collected directly by the property at or after check-in time
  • pay_later: for anything in between
Show fields

The schedule for when this payment will be collected. Use:

  • pay_now: for payments collected during booking
  • pay_at_check_in: for payments collected directly by the property at or after check-in time
  • pay_later: for anything in between
Exactly one of the following, selected by type:
pay_at_check_in (pay_at_check_in1) pay_at_check_in1
pay_later (pay_later1) pay_later1
pay_now (pay_now1) pay_now1
cancellation_penalty
cancellation_penalty · one of 2
required

The cancellation penalty for this rate. Use:

  • non_refundable if the rate is not refundable starting from booking time (i.e., if the user cancels right after booking, they won't get any refund)
  • refundable for anything else
Show fields

The cancellation penalty for this rate. Use:

  • non_refundable if the rate is not refundable starting from booking time (i.e., if the user cancels right after booking, they won't get any refund)
  • refundable for anything else
Exactly one of the following, selected by type:
non_refundable (non_refundable1) non_refundable1
type
string
required

value: non_refundable

refundable (refundable1) refundable1
type
string
required

value: refundable

penalties
array of penalty1

The cancellation penalties for this rate. If the rate is fully refundable until check-in, send an empty array. Otherwise, send a list of penalties that will be applied upon cancelling the reservation.

For a list of penalties, they represent a timeline and the latest active penalty will be applied. e.g. on a $900 booking for 4 nights, with penalties:

  • PercentageNightly(01/01/2050, 25%)
  • PercentageNightly(01/05/2050, 50%)

If the guest cancels on:

  • 01/03/2050, penalty is: $900 / 4 * 0.25 = $56.25 (user is refunded $843.75)
  • 01/05/2050, penalty is: $900 / 4 * 0.5 = $112.50 (user is refunded $787.50)
Show fields
Array of penalty1 · one of 4 · The cancellation penalties for this rate. If the rate is fully refundable until check-in, send an empty array. Otherwise, send a list of penalties that will be applied upon cancelling the reservation. For a list of penalties, they represent a timeline and the latest active penalty will be applied. e.g. on a $900 booking for 4 nights, with penalties: - PercentageNightly(01/01/2050, 25%) - PercentageNightly(01/05/2050, 50%) If the guest cancels on: - 01/03/2050, penalty is: $900 / 4 * 0.25 = $56.25 (user is refunded $843.75) - 01/05/2050, penalty is: $900 / 4 * 0.5 = $112.50 (user is refunded $787.50)
Exactly one of the following, selected by type:
fixed (fixed1) fixed1
number_of_nights (number_of_nights1) number_of_nights1
percentage_nightly (percentage_nightly1) percentage_nightly1
percentage_total (percentage_total1) percentage_total1
channel
channel · one of 5
required

The partner's channel the booking was made through.

Show fields

The partner's channel the booking was made through.

Exactly one of the following, selected by type:
agent_reseller (agent_reseller) agent_reseller
type
string
required

value: agent_reseller

agency_id
string
required

The ID of the agency.

Length ≥ 1
agent
agent
required

The agent operating the session. Expected from every agent portal integration.

Show fields
id
string
required

The ID of the agent.

Length ≥ 1
account_created_at
string · date-time
required

When the agent's account was created in the partner's system, in UTC.

verification_status
string enum
required

The partner's verification status for this agent. An opaque partner assertion: this API does not define what a partner must do to assert verified. Partners that run no verification programme send not_supported.

Values verifiedunverifiednot_supported
api (api) api
type
string
required

value: api

client
string
required

The client name of the API.

Length ≥ 1
direct (direct) direct
type
string
required

value: direct

online_booking_tool (online_booking_tool) online_booking_tool
type
string
required

value: online_booking_tool

travel_management_company
string
required

The name of the travel management company.

Length ≥ 1
business
string
required

The name of the business.

Length ≥ 1
white_label (white_label) white_label
type
string
required

value: white_label

brand
string
required

The brand name of the white label partner.

Length ≥ 1
booking_references
map_string
required

IDs that are relevant to the booking. It's a dictionary of key/value pairs. Check with HTS for examples of supported keys.

occupancy
occupancy

The occupancy that was booked.

Show fields
num_adults
integer · int32

The number of adults the user is booking for.

num_children
integer · int32

The number of children the user is booking for.

num_units
integer · int32

The number of units the user is booking.

user_id
string

The ID of the user who made the booking.

Example
{
  "check_in_date": "2026-09-12",
  "check_out_date": "2026-09-14",
  "currency": "USD",
  "property": {
    "id": "12345",
    "property_name": "Fairmont Copley Plaza Boston",
    "chain_name": "Fairmont",
    "country_code": "US"
  },
  "rates": [
    {
      "id": "rate-bar-flex",
      "unit_id": "unit-king-lux",
      "price": {
        "base_amount": "100.24",
        "taxes_amount": "23.91",
        "fees_amount": "10.00",
        "payment_schedule": [
          {
            "amount": "1.23",
            "schedule": {
              "type": "pay_at_check_in"
            }
          }
        ]
      },
      "cancellation_penalty": {
        "type": "string"
      }
    }
  ],
  "occupancy": {
    "num_adults": 1,
    "num_children": 1,
    "num_units": 1
  },
  "channel": {
    "type": "string",
    "agency_id": "858695eb-db27-406a-b9dd-a76af17b7d1c",
    "agent": {
      "id": "a420c244-06c0-40cf-b004-a1f390f069cc",
      "account_created_at": "2026-08-14T09:31:00Z",
      "verification_status": "verified"
    }
  },
  "booking_references": {},
  "user_id": "33bb4eb2-2937-4bd3-97b1-7796206712f0"
}