Token Status

Request detailed information about an alias

This endpoint returns detailed information about an alias stored in the PCI Proxy vault such as its creation date, the fingerprint and corresponding card or Network Token information (only available when a Network Token has been provisioned). It also indicates if the underlying source of the alias is a PAN or a Network Token.

Please refer to the API Reference to get a detailed view of all required and optional fields.

curl --request GET \
  --url 'https://api.sandbox.datatrans.com/v1/aliases/{{alias}}' \
  --header 'Authorization: Basic {{basicAuth}}'
{
    "alias": "7LHXscqwAAEAAAGQl2DPXQbbUOZ4ADnU",
    "fingerprint": "F-cg_iu0Xulk1UNMtL57hZW3",
    "type": "CARD",
    "masked": "22228502xxxx7008",
    "dateCreated": "2024-07-09T12:03:42Z",
    "card": {
        "panRemoved": false,
        "bin": "22228502",
        "last4": "7008",
        "expiryMonth": "12",
        "expiryYear": "30",
        "cardInfo": {
            "brand": "MASTERCARD",
            "type": "credit",
            "usage": "consumer",
            "country": "US",
            "issuer": "",
            "accountType": "PAN"
        },
        "networkToken": {
            "expiryMonth": "08",
            "expiryYear": "27",
            "status": "ACTIVE",
            "paymentAccountReference": "5001CKVAXG3BF45LG87F63JVX3AQ0",
            "tokenRequestorId": "50179002095",
            "token": "2222850249926011"
        }
    }
}