API reference

HTS APIs

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

Schema

payment_schedule

Pricing breakdown of a rate. Includes the amounts owed at book time and the amounts owed at check-in.

Fields

owed_now
object
required

Amounts due at time of booking

Show fields
base
object
required

The base price of the lodging (product price excluding taxes and fees)

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
taxes
array of tax
required

List of taxes

Show fields
Array of tax · List of taxes
category
string enum
required

Reason for the tax. This is a non-exhaustive list of enum values, which will be extended in the future.

Values tax_recovery_chargessales_taxcity_tax · Example city_tax
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
name
string

Free form name of the tax in the property manager specified language

description
string

Free form detailed description of the tax in the property manager specified language

fees
array of fee
required

List of fees

Show fields
Array of fee · List of fees
category
string enum
required

Fee category. This is a non-exhaustive list of enum values, which will be extended in the future.

Values property_feehotel_feeresort_feetraveler_service_feecleaning_feepet_fee · Example hotel_fee
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
name
string

Free form name of the fee in the property manager specified language

description
string

Free form detailed description of the fee in the property manager specified language

total
object
required

Total price including base, taxes, and fees

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
owed_at_check_in
object
required

Amounts due at check-in (e.g. resort fees, remaining balance, local taxes).

These charges are collected at the property and may be denominated in the property's local currency, which can differ from the currency of owed_now (for example, a rate sold in USD with a city tax collected at the hotel in EUR). Read the currency on each amount/tax/fee rather than assuming it matches owed_now.

For pay-later rates (only returned by shop to partners enabled for them), the stay itself is paid at the property: owed_at_check_in.base holds the room price, owed_at_check_in.total includes every tax and fee, and owed_now is zero. Taxes and fees without an API category are counted in the total but not itemized in the taxes or fees lists. /quote does not return this split yet, and booking pay-later rates is not supported yet: /book returns rate_unavailable (409).

Show fields
base
object
required

The base price of the lodging (product price excluding taxes and fees)

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
taxes
array of tax
required

List of taxes

Show fields
Array of tax · List of taxes
category
string enum
required

Reason for the tax. This is a non-exhaustive list of enum values, which will be extended in the future.

Values tax_recovery_chargessales_taxcity_tax · Example city_tax
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
name
string

Free form name of the tax in the property manager specified language

description
string

Free form detailed description of the tax in the property manager specified language

fees
array of fee
required

List of fees

Show fields
Array of fee · List of fees
category
string enum
required

Fee category. This is a non-exhaustive list of enum values, which will be extended in the future.

Values property_feehotel_feeresort_feetraveler_service_feecleaning_feepet_fee · Example hotel_fee
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
name
string

Free form name of the fee in the property manager specified language

description
string

Free form detailed description of the fee in the property manager specified language

total
object
required

Total price including base, taxes, and fees

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
Example
{
  "owed_now": {
    "base": {
      "currency": "USD",
      "amount": "100.00"
    },
    "taxes": [
      {
        "category": "tax_recovery_charges",
        "currency": "USD",
        "amount": "10.00"
      },
      {
        "category": "sales_tax",
        "currency": "USD",
        "amount": "5.00"
      }
    ],
    "fees": [],
    "total": {
      "currency": "USD",
      "amount": "115.00"
    }
  },
  "owed_at_check_in": {
    "base": {
      "currency": "EUR",
      "amount": "0.00"
    },
    "taxes": [
      {
        "category": "city_tax",
        "currency": "EUR",
        "amount": "18.00"
      }
    ],
    "fees": [],
    "total": {
      "currency": "EUR",
      "amount": "18.00"
    }
  }
}