PAN

The primary account number: the long number on a payment card that identifies the card account.

A stolen card number can be used for fraud, and exposing it brings PCI DSS penalties and breach costs.

In more detail

PAN stands for primary account number. It is usually 16 digits and can be up to 19, the leading digits identify the issuing bank, and the last digit is a Luhn check digit. Under PCI DSS the PAN is the core of cardholder data, so wherever it is stored it must be made unreadable by truncation, tokenisation, strong encryption or a keyed hash. Card numbers often leak into logs, support tickets and chats, so organisations scan for them.

Examples

411111******1111  card number
CANDIDATE = re.compile(r"\b(?:\d[ -]?){12,18}\d\b")

Related terms

Taught in

References