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
typestring enum
required
Payment method type discriminator
Values
balancespreedly (spreedly_payment) spreedly_payment
typestring enum
required
Payment method type discriminator
Values
spreedlytokenstring
required
Payment method token issued by the Spreedly vault.
Length ≥ 1
Example
{
"type": "balance"
}