Skip to content

Latest commit

 

History

History
101 lines (57 loc) · 3.84 KB

CARDRULES.md

File metadata and controls

101 lines (57 loc) · 3.84 KB

Supported Card Types

The following list contains Issuer Identification Number (IIN) patterns and length for all debit and credit card types supported by Payform. Please note that while references are provided, there may be some missing matching patterns. Nevertheless, the current regular expressions used are valid with respect to these sources.

Credit Cards

American Express

IIN Pattern: 34, 37 1

Length: 15 2

Diners Club

IIN Pattern: 36, 38, 30[0-5] 3

Length: 14 3

Discover

IIN Pattern: 6011, 65, 64[4-9], 622 3

Length: 16 3

Hipercard

IIN Pattern: 384100, 384140, 384160, 606282, 637095, 637568, 60(?!11) 4, 5

Length: 14-19

JCB

IIN Pattern: 35 3

Length: 16-19 3

Mastercard

IIN Pattern: 222100...272099, 510000..559999, 677189 1, 6, 13

Length: 16

Unionpay

IIN Pattern: 62 3

Length: 16-19 3

Visa

IIN Pattern: 4 7

Length: 13, 16, 19

Debit Cards

Dankkort

IIN Pattern: 5019 8

Length: 16

Elo

IIN Pattern: (4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021) 9, 10

Length: 16

Forbrugsforeningen

IIN Pattern: 600 11

Length: 16

Maestro

IIN Pattern: 5018, 5020, 5038, 6304, 639000 to 639099, 670000 to 679999 12, 13

Length: 12-19

Visa Electron

IIN Pattern: 4026, 417500, 4405, 4508, 4844, 4913, 4917 7

Length: 16