Last active
August 29, 2015 14:12
-
-
Save Fivell/b3be638089100d712d9f to your computer and use it in GitHub Desktop.
credit_card_validation_yaml_structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| :visa: | |
| :rules: | |
| - :length: | |
| - 13 | |
| - 16 | |
| :prefixes: | |
| - '4' | |
| :mastercard: | |
| :rules: | |
| - :length: | |
| - 16 | |
| :prefixes: | |
| - '51' | |
| - '52' | |
| - '53' | |
| - '54' | |
| - '55' | |
| :options: | |
| :brand_name: Master Card | |
| :amex: | |
| :rules: | |
| - :length: | |
| - 15 | |
| :prefixes: | |
| - '34' | |
| - '37' | |
| :options: | |
| :brand_name: American Express | |
| :diners: | |
| :rules: | |
| - :length: | |
| - 14 | |
| :prefixes: | |
| - '300' | |
| - '301' | |
| - '302' | |
| - '303' | |
| - '304' | |
| - '305' | |
| - '36' | |
| - '38' | |
| :options: | |
| :brand_name: Diners Club | |
| :diners_us: | |
| :rules: | |
| - :length: | |
| - 16 | |
| :prefixes: | |
| - '54' | |
| - '55' | |
| :options: | |
| :brand_name: Diners Club | |
| :discover: | |
| :rules: | |
| - :length: | |
| - 16 | |
| :prefixes: | |
| - '6011' | |
| - '644' | |
| - '645' | |
| - '646' | |
| - '647' | |
| - '648' | |
| - '649' | |
| - '65' | |
| :jcb: | |
| :rules: | |
| - :length: | |
| - 15 | |
| - 16 | |
| :prefixes: | |
| - '3528' | |
| - '3529' | |
| - '353' | |
| - '354' | |
| - '355' | |
| - '356' | |
| - '357' | |
| - '358' | |
| - :length: | |
| - 15 | |
| :prefixes: | |
| - '1800' | |
| - '2131' | |
| :options: | |
| :brand_name: JCB | |
| :laser: | |
| :rules: | |
| - :length: | |
| - 16 | |
| - 17 | |
| - 18 | |
| - 19 | |
| :prefixes: | |
| - '6304' | |
| - '6706' | |
| - '6771' | |
| :solo: | |
| :rules: | |
| - :length: | |
| - 16 | |
| - 18 | |
| - 19 | |
| :prefixes: | |
| - '6334' | |
| - '6767' | |
| :switch: | |
| :rules: | |
| - :length: | |
| - 16 | |
| - 18 | |
| - 19 | |
| :prefixes: | |
| - '633110' | |
| - '633312' | |
| - '633304' | |
| - '633303' | |
| - '633301' | |
| - '633300' | |
| :maestro: | |
| :rules: | |
| - :length: | |
| - 12 | |
| - 13 | |
| - 14 | |
| - 15 | |
| - 16 | |
| - 17 | |
| - 18 | |
| - 19 | |
| :prefixes: | |
| - '5010' | |
| - '5011' | |
| - '5012' | |
| - '5013' | |
| - '5014' | |
| - '5015' | |
| - '5016' | |
| - '5017' | |
| - '5018' | |
| - '502' | |
| - '503' | |
| - '504' | |
| - '505' | |
| - '506' | |
| - '507' | |
| - '508' | |
| - '56' | |
| - '57' | |
| - '58' | |
| - '59' | |
| - '6010' | |
| - '6012' | |
| - '6013' | |
| - '6014' | |
| - '6015' | |
| - '6016' | |
| - '6017' | |
| - '6018' | |
| - '6019' | |
| - '602' | |
| - '603' | |
| - '604' | |
| - '605' | |
| - '6060' | |
| - '621' | |
| - '627' | |
| - '629' | |
| - '670' | |
| - '671' | |
| - '672' | |
| - '673' | |
| - '674' | |
| - '675' | |
| - '677' | |
| - '6760' | |
| - '6761' | |
| - '6762' | |
| - '6763' | |
| - '6764' | |
| - '6765' | |
| - '6766' | |
| - '6768' | |
| - '6769' | |
| - '679' | |
| :unionpay: | |
| :rules: | |
| - :length: | |
| - 16 | |
| - 17 | |
| - 18 | |
| - 19 | |
| :prefixes: | |
| - '622' | |
| - '624' | |
| - '625' | |
| - '626' | |
| - '628' | |
| :options: | |
| :skip_luhn: true | |
| :brand_name: China UnionPay | |
| :dankrot: | |
| :rules: | |
| - :length: | |
| - 16 | |
| :prefixes: | |
| - '5019' | |
| :rupay: | |
| :rules: | |
| - :length: | |
| - 16 | |
| :prefixes: | |
| - '6061' | |
| - '6062' | |
| - '6063' | |
| - '6064' | |
| - '6065' | |
| - '6066' | |
| - '6067' | |
| - '6068' | |
| - '6069' | |
| - '607' | |
| - '608' | |
| :options: | |
| :skip_luhn: true | |
| :hipercard: | |
| :rules: | |
| - :length: | |
| - 19 | |
| :prefixes: | |
| - '384' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment