C#
VB
Java
Objective-C
C++
An enumeration representing the types of credit cards supported.
Members
| Value | Member | Description |
|---|---|---|
| 0 | Unknown | Unknown credit card type. |
| 1 | InsufficientDigits | More digits are required in order to determine the card type. For example, if the only digit known is a 3, it cannot be determined whether it is a JCB (which starts with 35) or AmEx (which starts with 34 or 37) card type. |
| 2 | AmericanExpress | American Express cards start with 34 or 37. |
| 3 | DinersClub | Diners Club credit cards. |
| 4 | Discover | Discover credit cards start with 6x for some values of x. |
| 5 | JCB | JCB (see https://www.jcbusa.com/) cards start with 35. |
| 6 | MasterCard | MasterCard credit cards start with 51-55. |
| 7 | Visa | Visa credit cards start with 4. |
| 8 | Maestro | Maestro credit card. |