API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
identifier
Fields
Exactly one of the following, selected by
type:details (details) details
typestring
required
value: details
last_four_digitsstring
required
Last four digits of the payment card.
Pattern
[0-9]{4}expiration_monthstring
required
Two digits expiration month of the payment card.
Pattern
[0-9]{2}expiration_yearstring
required
Four digits expiration year of the payment card.
Pattern
[0-9]{4}token (token) token
typestring
required
value: token
valuestring
required
The token representing a credit card or a debit card. Used to process refunds to the original form of payment.
Length ≥ 1
Example
{
"type": "string",
"last_four_digits": "string",
"expiration_month": "string",
"expiration_year": "string"
}