Datatypes

Bank card (credit/debit card)

ID bankcard

DatatypePersonal data (PII)identifier

A bank card is typically a plastic card issued by a bank to its clients that performs one or more of a number of services that relate to giving the client access to bank account.

Categories
Personally identifiable information, Finances and banking
Countries
Global (not tied to a country)
Languages
Common to most languages
AutoType benchmark
creditcard
W3C DPV
pd:PaymentCardNumber
Google DLP
CREDIT_CARD_NUMBER
MISP attribute type
cc-number
Presidio
CREDIT_CARD
Microsoft Purview
Credit card number, EU debit card number
FIBO
primary card account number (PAN)
Check digit
luhn
Quality
80/100 · missing: examples, negative example
Metacrafter rules
5 rules (5 by field name, 0 by value)
Supported by tools
Alteryx Designer Cloud, Amazon Macie, Auto-Type, Amazon Comprehend, AWS Glue Sensitive Data Detection, Azure AI Language PII detection, Bearer CLI, Cloudflare DLP, Collibra Data Classification, Databricks Unity Catalog data classification, Datadog Sensitive Data Scanner, DataHub classification, Capital One DataProfiler, Duckling, Fides (Fideslang), Google Cloud Sensitive Data Protection (DLP), IBM Security Guardium Analyzer, IBM Knowledge Catalog (IBM watsonx.data intelligence), metacrafter, metacrafterpro, Microsoft Purview Data Loss Prevention, Nightfall AI, OpenMetadata auto-classification, Oracle Analytics Desktop, Oracle Data Safe, Microsoft Presidio, Privado, Private AI (Limina), Pydantic and pydantic-extra-types, pyWhat, SAS Information Catalog (Quality Knowledge Base), scrubadub, SDV sdtypes (Synthetic Data Vault), Snowflake sensitive data classification, RedGate SQL Data catalog, Talend (Qlik Talend Data Preparation, Data Catalog and Data Inventory), validator.js

Regular expression

^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$

Python re syntax.

Patterns

Specific representations of this datatype.

IDNameCategoriesCountriesDescription
bankcard_amex American Express card number PII pattern draft pii, finances global Primary account number of an American Express card: 15 digits that start with 34 or 37, the last of them a Luhn check digit. The pattern...
bankcard_diners Diners Club card number PII pattern draft pii, finances global 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...
bankcard_discover Discover card number PII pattern draft pii, finances global 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...
bankcard_jcb JCB card number PII pattern draft pii, finances global Primary account number of a JCB card: 16 to 19 digits that start with 3528 to 3589, the last of them a Luhn check digit. The pattern...
bankcard_maestro Maestro card number PII pattern draft pii, finances global Primary account number of a Maestro debit card: 12 to 19 digits that start with 5018, 5020, 5038, 5893, 6304, 6759, 6761, 6762 or 6763,...
bankcard_mastercard Mastercard card number PII pattern draft pii, finances global Primary account number of a Mastercard card: 16 digits that start with 51 to 55 or, since 2017, with 2221 to 2720. The last digit is a...
bankcard_unionpay UnionPay card number PII pattern draft pii, finances global Primary account number of a China UnionPay card: 16 to 19 digits that start with 62. Numbers from 622126 to 622925 are co-branded with...
bankcard_visa Visa card number PII pattern draft pii, finances global Primary account number of a Visa card. Visa numbers start with 4 and have 13, 16 or 19 digits; the last digit is a Luhn check digit. The...

Translations

LanguageNameDescription
RussianБанковская картаБанковская карта (англ. bank card) — пластиковая, металлическая или виртуальная карта, обычно привязанная к одному или нескольким расчётным счетам в банке.

Sources

Use this record