🚀 VaultsPay API v1 is live. See what's new →
Payment CardsGet Card PAN

Get Card PAN — Retrieve 16-digit PAN

Returns the full 16-digit PAN (Primary Account Number) for a card. This is a sensitive endpoint and should be restricted to authorized systems/users only. Access and audit logging are recommended.

Limitations: The endpoint returns PAN in cleartext; ensure transport is over TLS and caller has the necessary privileges.

POST{gateway}/pcs/api/v1/get-card-pan

Payload

AttributeTypeRequiredDescription
cardIdIntegerConditionalInternal card ID. Required if token not provided.
tokenIntegerConditionalCard token (PAN surrogate). Required if cardId not provided.
Request Example
{
  "cardId": 1722
}

Response

AttributeTypeDescription
dataObjectWrapper for response data.
data.panStringFull 16-digit PAN.
200 — SUCCESS
{
  "data": {
    "pan": "1111222233334444"
  }
}