Create encrypted token - API Reference

Create encrypted token

POST

Try it

Credentials

HTTP Basic
site_id:

Body Parameters

Parameter Type Required
body object Yes

EncryptedTokenizedPayload

Responses

Request

Curl

curl --request POST \
--url https://pci-tokenization-sandbox.checkouttools.com/v1/tokenization/tokenize-encrypted \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
  "cardNumber": "",
  "expirationMonth": "",
  "expirationYear": "",
  "cvc": "",
  "cardHolderName": ""
}'

Responses

// Default Response
{
  "token": "",
  "networkTokenStatus": {
    "created": false,
    "reason": {
      "code": {},
      "message": ""
    }
  },
  "cardInfo": {
    "bin": "",
    "lastFourDigits": "",
    "cardBrand": "",
    "expirationMonth": 0,
    "expirationYear": 0
  }
}