API reference

HTS APIs

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

Schema

fast_pricing

The price breakdown for this rate.

Fields

base_amount
string
required

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

taxes_amount
string
required

The amount of taxes.

fees_amount
string
required

The amount of fees.

payment_schedule
array of payment_schedule

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_schedule · 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.

schedule
schedule · 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_in) pay_at_check_in
type
string
required

value: pay_at_check_in

pay_later (pay_later) pay_later
type
string
required

value: pay_later

due
string · date
required

Date at which the user will be charged, in the timezone of the property.

pay_now (pay_now) pay_now
type
string
required

value: pay_now

Example
{
  "base_amount": "100.24",
  "taxes_amount": "23.91",
  "fees_amount": "10.00",
  "payment_schedule": [
    {
      "amount": "1.23",
      "schedule": {
        "type": "string"
      }
    }
  ]
}