Convert tokens

Update a legacy token's format to the latest Alias 2.0 format.

🚧

The Convert API only works converts tokens to the Alias 2.0 token format.

Contact us if you are unsure which alias format you are using.

In order to get access to our full set of features, including Network Tokenization, tokens need to be in the Alias 2.0 format. Converting legacy tokens to this format is simple. For example

curl --request POST \
  --url 'https://api.sandbox.datatrans.com/v1/aliases' \
  --header 'Authorization: Basic {{basicAuth}}' \
  --header 'Content-Type: application/json' \
  --data '{
	"legacyAlias": "424242SKMPRI4242"
}'
{
  "alias": "AAABdJdXVGPssdexyrAAAbuFU885AFAk"
}