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
typestring enum
required
Discriminator value for card payment method
Values
card · Example cardacceptedboolean
required
Indicates if the payment method is accepted
Example
truecard_typestring enum
required
Type of credit/debit card
Values
visamasteramerican_expressdiners_clubdiscoverjcbdankortmaestrounknown · Example visacash (cash_payment_method) cash_payment_method
typestring enum
required
Discriminator value for cash payment method
Values
cash · Example cashacceptedboolean
required
Indicates if the payment method is accepted
Example
trueExample
{
"type": "card",
"accepted": true,
"card_type": "visa"
}