API reference

HTS APIs

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

Schema

payment

Payment details for the booking.

Fields

Payment details for the booking.

Exactly one of the following, selected by type:
balance (balance_payment) balance_payment
type
string enum
required

Payment method type discriminator

Values balance
spreedly (spreedly_payment) spreedly_payment
type
string enum
required

Payment method type discriminator

Values spreedly
token
string
required

Payment method token issued by the Spreedly vault.

Length ≥ 1
Example
{
  "type": "balance"
}