v1

latestOpenAPI 3.1.02026-07-26490301.4 KB
Payment

Tokenization using payment account & consumer IDs

post/tokenizeWithPaymentAccountId

Headers

X-Request-IDstring

Unique ID of request

Request body

paymentAccountIdstring uuid required

ID of the encoded user payment details

consumerIdstring required

Gateway consumer ID (user ID)

cvvstring required

The final three digits printed on the back of the card

Example request

{
  "paymentAccount": "03a470ee-6fb8-4e46-8d7c-b47f345cd09a",
  "consumerId": "12345678",
  "cvv": "009"
}

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
}