银行卡号(BIN,IIN)编码规则

2013年12月24日09:26:25智能卡25,156

我们时常时常会遇到各种借记卡(储蓄卡)和贷记卡(信用卡)。银行卡号那么长一截,其实就像身份证一样,这里面也有一些规则。文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

其实我们的银行卡号一般是16位或者19位。由如下三部分构成。文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

●前六位是:发行者标识代码 Issuer Identification Number (IIN)。文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

注意:当前已经用IIN替换了之前的发卡行识别码 Bank Identification Number (BIN).文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

其中第一位数字是主要产业标识符(Major Industry Identifier (MII)),下表列出了MII每个数字代表的卡号行业。文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

0           ISO/TC 68 和其他行业使用
1            航空
2
航空和其他未来行业使用
3            运输、娱乐和金融财务
4            金融财务
5
金融财务
6            商业和金融财务
7            石油和其他未来行业使用
8
医疗、电信和其他未来行业使用
9            由本国标准机构分配文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

表列出了,不同卡号对应的发行机构。因此“中国银联”发行的卡一定是62开头;而国内使用Visa信用卡的人士其卡号会是4开头,而使用万事达(Matercard)的人士卡号一般以51、52、53、54、55打头。文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

发行机构 卡号开始 使用 卡号长度 验证方式
American Express 34, 37 Yes 15 Luhn algorithm
Bankcard 5610, 560221-560225 No 16 Luhn algorithm
China UnionPay 62 Yes 16-19 no validation
Diners Club Carte Blanche 300-305 Yes 14 Luhn algorithm
Diners Club enRoute 2014, 2149 No 15 no validation
Diners Club International 36 Yes 14 Luhn algorithm
Diners Club United States & Canada 54, 55 Yes 16 Luhn algorithm
Discover Card 6011, 622126-622925, 644-649, 65 Yes 16 Luhn algorithm
InstaPayment 637-639 Yes 16 Luhn algorithm
JCB 3528-3589 Yes 16 Luhn algorithm
Laser 6304, 6706, 6771, 6709 Yes 16-19 Luhn algorithm
Maestro 5018, 5020, 5038, 6304, 6759, 6761, 6762, 6763 Yes 12-19 Luhn algorithm
MasterCard 51-55 Yes 16 Luhn algorithm
Solo 6334, 6767 No 16, 18, 19 Luhn algorithm
Switch 4903, 4905, 4911, 4936, 564182, 633110, 6333, 6759 No 16, 18, 19 Luhn algorithm
Visa 4 Yes 13, 16 Luhn algorithm
Visa Electron 4026, 417500, 4508, 4844, 4913, 4917 Yes 16 Luhn algorithm

●中间的位数是:个人账号标识(从卡号第七位开始)文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

中间位数由发卡行自定义,一般由6-12位数字组成。最多可以使用12位数字。文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

每个银行的个人账号标识规则有所不同。有的银行在这部分内容中会包含分行、支行、储蓄网点等代码信息。有得银行可能就没有这么详细,会使用自然流水顺序码。文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

●最后一位位数是校验位
将卡号前面的数字采用Luhn算法计算出信用卡或者借记卡的最后一位数字。文章源自堕落的鱼-https://www.duoluodeyu.com/838.html

匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定

评论:2   其中:访客  2   博主  0
    • 德州扑克迅特
      德州扑克迅特 0

      原来是这样哦。

      • heyuan
        heyuan 1

        要不要这样啊。欢迎回访