[thelist] Number of digits in Credit Card Number

Ben Dyer ben_dyer at imaginuity.com
Tue Jun 12 13:34:59 CDT 2001


Actually, Amex can also begin with 34.

<tip type="Credit Cards">
Check out

http://perl.about.com/compute/perl/library/weekly/aa073000a.htm

for information about credit card prefixes and the Luhn algorithm and other 
fun things about checking credit card numbers.
</tip>

--Ben

At 01:06 PM 6/12/2001, you wrote:
>And on that note if anyone might want to know:
>
>Mastercard always begins with a 5
>Visa always begins with a 4
>Discover always begins with 6011
>American Express always begins with 37
>
>Sarah
>
>
> > > Hi, does any one know the number of alphanumeric
> > characters for
> > > the following credit card numbers.  I was assuming
> > 16 characters
> > > for all of them, but am not so sure anymore.
> >
> > > Visa, Mastercard, American Express, Discover
> >
> > Scott

<!-----------------------
Ben Dyer
Senior Internet Developer
Imaginuity Interactive
http://www.imaginuity.com
//---------------------->






More information about the thelist mailing list