Server to Server API to detokonize data
Use the reverse Vault API to convert sensitive data from a PCI Proxy token back to the clear text value. The API supports single as well as bulk detokenization for credit card number-, cvv- and custom value aliases.
Please consider the following constraints when using the reverse Vault API:
- For bulk detokenizations the maximum number of requests per batch is 100
- For custom values we do not apply any form of validation
- Please also consider the PCI DSS requirements below
Only PCI DSS compliant merchants are allowed to use the reverse Vault API as it returns sensitive plain text data which extends your PCI DSS scope. Exemptions can be granted for a limited period of time if there is a valid business reason such as for instance PSP migrations or in case of non-sensitive data. For any sensitive data to be revealed in client apps, please use the Show API integration.
Learn below how to build the request. You can find as well an example request and response.
Due to increased security risk, the reverse Vault API needs to be activated for your merchantId and IP whitelisting is required. Please get in touch with our team to configure it for you.
curl -L -X POST 'https://api.sandbox.datatrans.com/v1/aliases/detokenize' \
-H 'Authorization: Basic MTEwMDAxNzc4OTpNQUd6UUVEbkVxd001d0Vr' \
-H 'Content-Type: application/json' \
"custom": "John Doe"
This service requires HTTP basic authentication. The required credentials can be found in our dashboard. Please refer to API authentication data for more information.
CVV aliases have a limited lifespan of 30 minutes and can't be detokenized anymore when expired.