v1

latestOpenAPI 3.1.02026-07-26490301.4 KB
Payment

Tokenization

post/tokenize

Headers

X-Request-IDstring

Unique ID of request

Request body

numberstring required

Full card number

expirationYearstring required

The expiry year of the card

expirationMonthstring required

The expiry month of the card

cvvstring

The final three digits printed on the back of the card

cardHolderstring

The cardholder full name

zipstring

Postal code

Example request

{
  "number": "4024007179366348",
  "expirationYear": "25",
  "expirationMonth": "12",
  "cvv": "009",
  "cardHolder": "John Smith",
  "zip": "14000"
}

Response

Created

tokenstring uuid

A unique one-time token that stores sensitive payment details

expireAtinteger

Token expiration date. The token is valid for 30 minutes from the moment of its creation

Example response

{
  "token": "d86bdcbb-c369-46d9-a9d0-9c5010e3bfdb",
  "expireAt": 1611735028
}