Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > a7563f2c5507616221ede154fedfc5ac > files > 2

perl-Business-CreditCard-0.30-4.fc13.noarch.rpm

# from http://perl.about.com/compute/perl/library/nosearch/P073000.htm
# verified by http://www.beachnet.com/~hstiles/cardtype.html
# Card Type                         Prefix                           Length
# MasterCard                        51-55                            16
# VISA                              4                                13, 16
# American Express (AMEX)           34, 37                           15
# Diners Club/Carte Blanche         300-305, 36, 38                  14
# enRoute                           2014, 2149                       15
# Discover                          6011                             16
# JCB                               3                                16
# JCB                               2131, 1800                       15
#
# from Neale Banks <neale@lowendale.com.au>
# According to a booklet I have from Westpac (an Aussie bank), a card number
# starting with 5610 or 56022[1-5] is a BankCard
# BankCards have exactly 16 digits.
#
# from "Becker, Max" <Max.Becker@firstgate.com>
# It's mostly used in the UK and is either called "Switch" or "Solo".
# Card Type                         Prefix                           Length
# Switch                            various                          16,18,19
# Solo                              63, 6767                         16,18,19
#
# switch
#4903
#    0[2-9]
#    3[5-9]
#4911 
#    0[1-2]
#    7[4-9]
#    8[1-2]
#4936
#
# from http://en.wikipedia.org/wiki/Credit_card_number#Prefixes
# As of November 8, 2004, MasterCard and Diner's club formed an alliance.
# Cards issued in Canada and the USA start with 55 and are treated as
# MasterCards worldwide. International cards use the 36 prefix and are
# treated as mastercards in Canada and the US, but are treated as Diner's
# Club cards elsewhere. Diner's club international's website makes no
# reference to old 38 prefix numbers, and they can be presumed reissued under
# the 55 or 36 BIN prefix.
#
# Effective October 1, 2006, the Discover Network will activate new Issuer
# Identification Numbers (IINs) to support a variety of card types and
# products. Additionally, Discover and China Union Pay (CUP) have
# established a strategic alliance and reciprocity agreement. As a result,
# IIN ranges from CUP will be enabled to facilitate the acceptance of CUP
# credit Cards on the Discover Network by October 1, 2006. CUP credit
# cards will be enabled on Discover Network with a 16-digit Card Number
# only. The updated IIN table is shown below.
# 
# Minimum IIN             Maximum IIN             Product
# 650000          650099          Consumer Debit
# 650100          650199          Commercial Debit
# 650200          650399          Stored Value
# 650400          650599          Stored Value
# 650600          650799          Consumer Credit
# 650800          650999          Commercial Credit
# 651000          659999          Reserved for Future Use
# 
#         China Union Pay
# 62212600                62292599                Credit
#
# Please ensure that your POS terminals, websites and any pertinent
# internal systems can accept these new IINs.