API reference

HTS APIs

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

Schema

book_payment_method

Payment method for direct credit card payment. Required for tenants configured for direct payment processing; ignored for others. Use the provider-specific variant to supply the vault token. Contact Hopper to enable this feature for your tenant.

Fields

Payment method for direct credit card payment. Required for tenants configured for direct payment processing; ignored for others. Use the provider-specific variant to supply the vault token. Contact Hopper to enable this feature for your tenant.

Exactly one of the following, selected by provider:
spreedly (spreedly_payment_method) spreedly_payment_method
provider
string enum
required

Identifies this as a Spreedly payment method.

Values spreedly · Example spreedly
token
string
required

Payment method token issued by the Spreedly vault.

Length ≥ 1 · Example LbDpERKx17Y8PGeR4EvnMVdB1bN
Example
{
  "provider": "spreedly",
  "token": "LbDpERKx17Y8PGeR4EvnMVdB1bN"
}