American Express card number
ID bankcard_amex
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 an American Express card: 15 digits that start with 34 or 37, the last of them 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
- Cloudflare DLP, Datadog Sensitive Data Scanner, pyWhat, validator.js
Regular expression
^3[47][0-9]{13}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 378282246310005 | Stripe and Braintree test card number |
| 371449635398431 | Stripe and Braintree test card number |
| 36227206271667 invalid | Diners Club test number |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Payment_card_number
- doc: https://docs.stripe.com/testing
- doc: https://developer.paypal.com/braintree/docs/reference/general/testing/node
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/bankcard_amex - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/finances/bankcard_amex.yamlon GitHub