Datatypes › bankcard

Diners Club card number

ID bankcard_diners

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 Diners Club International card: 14 to 19 digits that start with 30, 36, 38 or 39, the last of them a Luhn check digit. Diners Club cards issued in the United States and Canada carry Mastercard numbers (prefix 55) and match bankcard_mastercard instead. 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
Cloudflare DLP, Datadog Sensitive Data Scanner, pyWhat, validator.js

Regular expression

^3[0689][0-9]{12,17}$

Python re syntax.

Examples

ValueDescription
36227206271667Stripe test card number (14 digits)
3056930009020004Stripe test card number (16 digits)
378282246310005 invalidAmerican Express test number

Sources

Use this record