Get Full PAN

The Get Full PAN endpoint enables PCI certified customers to retrieve the details of a card, but with the full PAN included in the maskedPan field of the response.

📘

PCI Compliant Postman Collection

The Get Full PAN endpoint is only available for PCI Compliant customers. If you require a PCI Compliant Postman Collection, which includes the Get Full PAN endpoint, contact your account manager or implementations manager.

You can retrieve a card's full PAN by making a GET request to the endpoint. For example:

{{base-url}}/cards/{{publicToken}}/showpan

If successful, a 200 response will be returned. See the below example:

{
    "cardType": "Physical",
    "publicToken": "638050230",
  	"status": "Active",
    "cardStatusCode": "00",
    "cardStatusDescription": "00 (Active)",
    "balance": {
        "currencyCode": "GBP",
        "cardBalance": 300.67,
        "pendingAmount": -74,
        "availableBalance": 226.67
    },
    "cardDetails": {
        "customerReference": "",
        "fullNameOnCard": "Mr John Smith",
        "maskedPan": "5299551234564384",
        "startDate": "2022-09-28",
        "expiryDate": "2023-09-28"
    },
    "cardHolder": {
        "title": "Mr",
        "firstName": "John",
        "middleName": "",
        "lastName": "Smith",
        "dateOfBirth": "1963-11-22",
        "mobile": "",
        "email": ""
    },
    "cardProduct": {
        "scheme": "Sandbox Scheme",
        "product": 1234,
      	"productShortName": "Sandbox"
    },
    "controlGroups": {
        "limitsGroup": 1,
        "usageGroup": 0,
        "recurringFeeGroup": 0,
        "webServiceFeeGroup": -1,
        "authFeeGroup": 0,
        "mccGroup": 0,
        "cardLinkageGroup": 0,
        "calendarGroup": -1,
        "fxGroup": 0,
        "paymentTokenUsageGroup": 0
    },
    "3DS": [],
    "designId": "Sandbox",
  	"childCards": [],
    "siblingCards": [],
    "address": {
        "addressLine1": "32 Eastern Lane",
        "addressLine2": "",
        "addressLine3": "",
        "city": "",
        "state": "",
        "county": "",
        "postCode": "S11 7AA",
        "country": "826"
    },
    "fulfilment": {
        "addressLine1": "32 Eastern Lane",
        "addressLine2": "",
        "addressLine3": "",
        "city": "",
        "state": "",
        "county": "",
        "postCode": "S11 7AA",
        "country": "826"
    },
 	 "freetext1": "Comments for the card manufacturer here",
   "freetext2": "And in this field too."
}

👍

API Explorer

For more information on the Get Full PAN endpoint, see Get Full PAN in the API Explorer.