API reference

HTS APIs

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

Schema

payment_method

Payment method information

Fields

Payment method information

Exactly one of the following, selected by type:
card (card_payment_method) card_payment_method
type
string enum
required

Discriminator value for card payment method

Values card · Example card
accepted
boolean
required

Indicates if the payment method is accepted

Example true
card_type
string enum
required

Type of credit/debit card

Values visamasteramerican_expressdiners_clubdiscoverjcbdankortmaestrounknown · Example visa
cash (cash_payment_method) cash_payment_method
type
string enum
required

Discriminator value for cash payment method

Values cash · Example cash
accepted
boolean
required

Indicates if the payment method is accepted

Example true
Example
{
  "type": "card",
  "accepted": true,
  "card_type": "visa"
}