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
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.

text (payment_clause_text) payment_clause_text
type
string enum
required

Discriminator value for text payment clause

Values text · Example text
description
string
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."
}