Links

Status

Request detailed information about an alias such as creation date, fingerprint or cardinfo.
get
https://api.sandbox.datatrans.com
/v1/aliases/{alias}
STATUS

Examples

Request
Response
curl -L -X GET 'https://api.sandbox.datatrans.com/v1/aliases/AAABeM8amw3ssdexyrAAAYwp9fXrAIkp' \
-H 'Authorization: Basic MTEwMDAxNzc4OTpNQUd6UUVEbkVxd001d0Vr'
{
"alias": "AAABeM8amw3ssdexyrAAAYwp9fXrAIkp",
"fingerprint": "F-dV5V8dE0SZLoTurWbq2HZp",
"type": "CARD",
"masked": "424242xxxxxx4242",
"dateCreated": "2021-01-14T06:38:50.637+00:00",
"card": {
"expiryMonth": "12",
"expiryYear": "21",
"cardInfo": {
"brand": "VISA CREDIT",
"type": "credit",
"usage": "consumer",
"country": "GB",
"issuer": "DATATRANS"
}
}
}
Please note that the STATUS 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.