Convert
Convert a legacy token (numeric or masked format) to an Alias 2.0 format.
post
https://api.sandbox.datatrans.com
/v1/aliases
CONVERT
Request
Response
curl -i -X POST https://api.sandbox.datatrans.com/v1/aliases \
--user {merchantId}:{password} \
-H 'Content-Type: application/json; charset=UTF-8' \
-d '{
"legacyAlias": "424242SKMPRI4242"
}'
{
"alias": "AAABdJdXVGPssdexyrAAAbuFU885AFAk"
}
Please note that the CONVERT API is only working with the latest Alias 2.0 format.
Reach out to your PCI Proxy contact if you are not sure which alias format you are using.
Last modified 1yr ago