Discover card number
ID bankcard_discover
Pattern of bankcardPersonal data (PII)identifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Primary account number of a Discover card: 16 to 19 digits that start with 6011, 644 to 649 or 65, or with 622126 to 622925 for cards co-branded with China UnionPay. The last digit is a Luhn check digit. The pattern accepts the number without spaces or hyphens.
- Pattern of
- Bank card (credit/debit card)
bankcard - Categories
- Personally identifiable information, Finances and banking
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Check digit
luhn- Quality
- 85/100 · missing: mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Datadog Sensitive Data Scanner, pyWhat, validator.js
Regular expression
^(?:6011[0-9]{12,15}|64[4-9][0-9]{13,16}|65[0-9]{14,17}|622(?:12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[01][0-9]|92[0-5])[0-9]{10,13})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 6011111111111117 | Stripe test card number |
| 6011000990139424 | Stripe test card number |
| 6200000000000005 invalid | UnionPay test number outside the co-branded range |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/bankcard_discover - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/finances/bankcard_discover.yamlon GitHub