信用卡详细信息中的银行名称?
有没有办法从扫描卡后获得的详细信息中找到银行的名称?
唯一相关的信息似乎是卡类型 - Visa 等以及帐号的最后四位数字。
Is there a way we can find the name of the bank from the details that we get after scanning a card?
The only relevant info seems to be Card type - Visa etc and the last four digits of the account number.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的你可以。 不久前,我们必须为我们编写的电子商务应用程序执行此操作。
信用卡的前 6 位数字称为银行识别码(或 BIN)。 某些信用卡处理网关可以返回此信息,或者您也可以自己执行此操作。 公共数据库存储了每种卡类型的信息:VISA、MasterCard、AMEX 等。
此列表 显示了一些常见的 BIN:
此链接 解释了这个概念更深入一点。
希望这可以帮助!
Yes, you can. We had to do this a while back for an e-commerce application we wrote.
The first 6 digits of a credit card is known as the Bank Identification Number (or BIN). Some credit card processing gateways can return this information, or you can do it yourself. There are public databases with this information stored for each card type: VISA, MasterCard, AMEX, etc.
This list shows some of the common BINs:
And this link explains this concept to a little better depth.
Hope this helps!
前六个数字标识卡类型和银行。 在美国,我们倾向于采用第一个数字的捷径来识别卡类型,但实际上前四个数字确定了确切的发卡公司,最后两个数字进一步确定了银行(超过 100 家银行的卡类型将有前四组中不止一组数字)。 所有六个号码都可以准确识别银行。 不过,Pace mbmccormick 表示,这份名单并不被视为公开信息,如果你想获得一份权威名单,你就必须付费,而且只有签订保密协议才能获得。
然而,已经收集和公开识别了足够的信息,您可以从公开的 BIN 数据库中获得近似答案。 如果个别银行不是您最关心的(即您不想打电话给他们或验证持卡人是否可以根据银行编号正确识别银行),而是希望确保该卡是在持卡人声称(或想要运送到)的同一国家/地区发行的。
The first six numbers identify the card type and bank. In America we tend to take the short cut of the first number to identify card type, but in fact the first four identify the exact card issuing company and the bank is further identified by the last two (card types with more than 100 banks will have more than one set of numbers in the first four). All six numbers identify the bank exactly. Pace mbmccormick, though, this list is not regarded as public information, and if you wanted to get an authoritative list you would have to pay for it and only get it with confidentiality agreements.
However, enough of the information has been collected and identified publicly that you can get an approximate answer from publicly available BIN databases. This is especially true if the individual bank is not your greatest concern (that is you are not looking to call them or validate that the card holder can correctly identify the bank based on the bin number) but rather you want to make sure that the card is issued in the same country as the card holder claims (or wants to ship to).