API reference

HTS APIs

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

Schema

payment_schedule1

Fields

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
type
string
required

value: pay_at_check_in

pay_later (pay_later1) pay_later1
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_now1) pay_now1
type
string
required

value: pay_now

Example
{
  "amount": "1.23",
  "schedule": {
    "type": "string"
  }
}