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
Provides information about payments restrictions, constraints, or requirements.
Fields
Provides information about payments restrictions, constraints, or requirements.
Exactly one of the following, selected by
type:card_on_file (payment_clause_card_on_file) payment_clause_card_on_file
typestring enum
required
Discriminator value for card-on-file payment clause
Values
card_on_file · Example card_on_filecurrencystring
required
Currency code, in ISO 4217 format.
Pattern
^[A-Z]{3}$ · Example USDamountstring
required
Monetary amount value Serialized BigDecimal value
Example
123.45card_on_file_descriptionstring
Describes the modalities of the card on file payment clause.
text (payment_clause_text) payment_clause_text
typestring enum
required
Discriminator value for text payment clause
Values
text · Example textdescriptionstring
required
Describes the modalities of the 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."
}