API reference

HTS APIs

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

Schema

details

Fields

type
string
required

value: details

last_four_digits
string
required

Last four digits of the payment card.

Pattern [0-9]{4}
expiration_month
string
required

Two digits expiration month of the payment card.

Pattern [0-9]{2}
expiration_year
string
required

Four digits expiration year of the payment card.

Pattern [0-9]{4}
Example
{
  "type": "string",
  "last_four_digits": "string",
  "expiration_month": "string",
  "expiration_year": "string"
}