Payments glossary Card payments & networks
What Is a Primary Account Number (PAN)?
Definition
A Primary Account Number (PAN) is the card number that identifies both the card issuer and the cardholder's account. Under ISO/IEC 7812-1 it combines an issuer identification number (the BIN), an individual account number, and a final check digit. PCI DSS treats the full PAN as the core element of cardholder data.
Also called: PAN, card number, account number, credit card number, debit card number
How it works and why it matters
ISO/IEC 7812-1:2017 specifies the PAN format: an issuer identification number of 8 digits, followed by an individual account number assigned by the issuer, and a single check digit calculated with the Luhn formula. The 2017 edition also raised the minimum PAN length from 8 to 10 digits. The Visa Core Rules describe the account number as an issuer-assigned payment credential that identifies an account in order to post a transaction.
Because the PAN identifies the account to be charged, PCI DSS puts strict controls around it. Stored PANs must be made unreadable through truncation, strong encryption, index tokens, or keyed cryptographic hashes, and screens and reports may show only the BIN and last four digits unless there is a documented business need. Most subscription merchants never handle raw PANs: their payment provider vaults the card and returns a token, and card updater services or network tokens keep the stored credential current when a bank reissues the card with a new number.
Example
A streaming service saves a customer's card at signup. Its payment provider stores the full PAN in its vault and gives the merchant a token, the card brand, and the last four digits to show in the account page. A year later the issuer replaces the card after a data breach, so the PAN changes. If no updater service supplies the new number, the next monthly renewal on the old PAN fails and the customer has to enter the new card.
Frequently asked questions
What is a Primary Account Number (PAN)?
A Primary Account Number (PAN) is the card number that identifies both the card issuer and the cardholder's account. Under ISO/IEC 7812-1 it combines an issuer identification number (the BIN), an individual account number, and a final check digit. PCI DSS treats the full PAN as the core element of cardholder data.
Is the PAN the same as the card number?
Yes, in everyday use. PAN is the formal term in ISO/IEC 7812-1 and PCI DSS for the long number on a credit, debit, or prepaid card. With digital wallets and network tokens, the number used in a transaction may be a token that stands in for the PAN, so the merchant never sees the underlying account number.
Can merchants store the PAN?
Yes, but only under PCI DSS controls. Stored PANs must be unreadable (truncated, encrypted, tokenized, or hashed with a keyed hash), and display is limited to the BIN and last four digits without a documented business justification. Many merchants reduce their scope by letting their payment provider store cards and keeping only tokens.
Related terms
Related tools and guides
Sources
- ISO/IEC 7812-1:2017 Identification cards, Identification of issuers, Part 1: Numbering system (preview) (ISO/IEC)
- How can an entity meet PCI DSS requirements for PAN masking and truncation if it has migrated to 8-digit BINs? (PCI Security Standards Council)
Sources checked November 2026. Card network and scheme rules change; confirm current rules with your payment provider.
More card payments & networks terms
Losing subscription revenue to failed payments?
Slicker recovers failed recurring payments with smart retries driven by decline codes and Merchant Advice Codes, plus hyper-personalized emails when the customer has to act. It runs on your existing billing platform, and you only pay when it outperforms your current setup in a 50/50 test.