Payment

Tokenization using payment account & consumer IDs

post/tokenizeWithPaymentAccountId

Request

  • Base URL
    https://api.centrobill.com
  • URL
    https://api.centrobill.com/tokenizeWithPaymentAccountId
  • Auth
    none required

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
}

Changes

No recorded changes to this operation across all 2 revisions of this API.