1 from http://perl.about.com/compute/perl/library/nosearch/P073000.htm
2 verified by http://www.beachnet.com/~hstiles/cardtype.html
3 Card Type Prefix Length
6 American Express (AMEX) 34, 37 15
7 Diners Club/Carte Blanche 300-305, 36, 38 14
15 from Neale Banks <neale@lowendale.com.au>
16 According to a booklet I have from Westpac (an Aussie bank), a card number
17 starting with 5610 or 56022[1-5] is a BankCard
18 BankCards have exactly 16 digits.
22 from "Becker, Max" <Max.Becker@firstgate.com>
23 It's mostly used in the UK and is either called "Switch" or "Solo".
24 Card Type Prefix Length
25 Switch various 16,18,19
26 Solo 63, 6767 16,18,19
40 from http://en.wikipedia.org/wiki/Credit_card_number#Prefixes
41 As of November 8, 2004, MasterCard and Diner's club formed an alliance.
42 Cards issued in Canada and the USA start with 55 and are treated as
43 MasterCards worldwide. International cards use the 36 prefix and are
44 treated as mastercards in Canada and the US, but are treated as Diner's
45 Club cards elsewhere. Diner's club international's website makes no
46 reference to old 38 prefix numbers, and they can be presumed reissued under
47 the 55 or 36 BIN prefix.
49 Effective October 1, 2006, the Discover Network will activate new Issuer
50 Identification Numbers (IINs) to support a variety of card types and
51 products. Additionally, Discover and China Union Pay (CUP) have
52 established a strategic alliance and reciprocity agreement. As a result,
53 IIN ranges from CUP will be enabled to facilitate the acceptance of CUP
54 credit Cards on the Discover Network by October 1, 2006. CUP credit
55 cards will be enabled on Discover Network with a 16-digit Card Number
56 only. The updated IIN table is shown below.
58 Minimum IIN Maximum IIN Product
59 650000 650099 Consumer Debit
60 650100 650199 Commercial Debit
61 650200 650399 Stored Value
62 650400 650599 Stored Value
63 650600 650799 Consumer Credit
64 650800 650999 Commercial Credit
65 651000 659999 Reserved for Future Use
68 62212600 62292599 Credit
70 Please ensure that your POS terminals, websites and any pertinent
71 internal systems can accept these new IINs.
75 from http://en.wikipedia.org/wiki/Laser_(debit_card)#Technical
76 Laser cards are prefixed with either "6304", "6706", "6771" or "6709", and
77 may be between 16 and 19 characters in length.
81 from https://www.discovernetworkvar.com/pdf_docs/9-2_VAR_ALERT_Sep_2009.pdf
82 Be sure to update your POS systems now with the following expanded Issuer
83 Identification Number ("IIN") Ranges. The IIN Range table listed below
84 includes Diners Club International ("DCI") and other Issuers and Card
85 programs that operate on Discover Network. These ranges are required for Card
86 transaction routing and detailed in Release 9.2 of the Discover® Network
87 Acquirer Operating Regulations and Technical Specifications:
93 35280000 358999991 JCB
94 36000000 369999992 DCI
96 60110000 60110999 Discover
98 60112000 60114999 Discover
100 60117400 60117499 Discover
102 60117700 60117999 Discover
104 60118600 60119999 Discover
106 62212600 62292599 CUP
107 62400000 62699999 CUP
108 62820000 62889999 CUP
109 64400000 65999999 Discover
112 1 This IIN range (35280000 to 35899999) shall be enabled only by Merchant
113 Processors in connection with Merchant relationships, POS Devices or otherw
114 of the United States of America and the District of Columbia, Puerto Rico, th
115 Northern Mariana Islands and Guam, subject to certain exceptions in Acquir
117 2 The PAN length for this IIN Range (36000000 to 36999999) is 14 digits.
121 from SBH Israel / Nir Alfandari:
122 Local Isracard: 8(-9?) digits
124 From http://www.wysiwyg.co.il/Anatomy-of-CreditCard-Number-formats.asp#IsraCard-algorithm
125 8-9 digits, non-LUHN validation
128 i think it's like luhn, except instead of 212121... you put
129 +987654321 under the number you're validating, multiply each, and do mod 11 on
130 +the sum, instead of mod 10.
137 list of the IIN values that were given to us by Discover. We manually tested a number from each end of the range to make sure B:CC worked.
139 30000000-30599999 DCI
140 30950000-30959999 DCI
141 35280000-35899999 JCB * us only
142 36000000-36999999 DCI * 14 digits
143 38000000-39999999 DCI
149 62212600-62292599 CUP
150 62400000-62699999 CUP
151 62820000-62889999 CUP
156 DCI = diner's, now discover everywhere
157 JCB = treat JCB as discover inside the US
158 DN = Discover Network
159 CUP = China Union Pay, treat as Discover outside China