API reference

HTS APIs

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

Schema

payment_clause_card_on_file

Card on file payment clause

Fields

type
string enum
required

Discriminator value for card-on-file payment clause

Values card_on_file · Example card_on_file
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
card_on_file_description
string

Describes the modalities of the card on file payment clause.

Example
{
  "type": "card_on_file",
  "currency": "USD",
  "amount": "10.00",
  "card_on_file_description": "By providing your card details, you agree to allow us to charge your card for any cancellation fees that may apply according to the property's cancellation policy."
}