Detokenize - API Reference

Detokenize

POST

Try it

Credentials

HTTP Basic the site_id:

Body Parameters

Body Type Required Description
token string Yes The token to detokenize
tokenAlias object Yes The alias of the token

Responses

200 - Default Response

{
  "cardNumber": "",
  "extra": "",
  "tokenAliases": "",
  "customerId": {},
  "expirationMonth": 0,
  "expirationYear": 0,
  "cardHolderName": "",
  "cvc": {}
}

400 - Default Response

{
  "message": ""
}

Request Example

curl --request POST \  
--url https://pci-tokenization-sandbox.checkouttools.com/v1/tokenization/detokenize \  
--header 'accept: application/json' \  
--header 'content-type: application/json' \  
--data '{
  "tokenAlias": {
    "key": "",
    "value": ""
  }
}'