--- :visa: :rules: - :length: - 13 - 16 :prefixes: - '4' :mastercard: :rules: - :length: - 16 :prefixes: - '51' - '52' - '53' - '54' - '55' :options: :brand_name: MasterCard :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 :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' - :length: - 19 :prefixes: - '357266' :options: :brand_name: JCB :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: - '500' - '5010' - '5011' - '5012' - '5013' - '5014' - '5015' - '5016' - '5017' - '5018' - '502' - '503' - '504' - '505' - '506' - '507' - '508' - '509' - '56' - '57' - '58' - '59' - '6010' - '6012' - '6013' - '6014' - '6015' - '6016' - '6017' - '6018' - '6019' - '602' - '603' - '604' - '605' - '6060' - '621' - '627' - '629' - '6304' - '6390' - '670' - '671' - '672' - '673' - '674' - '675' - '677' - '6760' - '6761' - '6762' - '6763' - '6764' - '6765' - '6766' - '6768' - '6769' - '6771' - '679' :unionpay: :rules: - :length: - 16 - 17 - 18 - 19 :prefixes: - '622' - '624' - '625' - '626' - '628' :options: :skip_luhn: true :brand_name: China UnionPay :dankort: :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' :elo: :rules: - :length: - 16 :prefixes: - '4011' - '438935' - '451416' - '4576' - '504175' - '506699' - '5067' - '509040' - '509042' - '509043' - '509045' - '509046' - '509047' - '509048' - '509049' - '509050' - '509051' - '509052' - '509064' - '509066' - '509067' - '509068' - '509069' - '509074' - '636297' - '63636' :options: :skip_luhn: true :brand_name: Elo