How to tell credit card's country of origin by its number?

*爱你&永不变心* 提交于 2019-11-30 11:50:23

At first, I questioned whether this information could be gleened from the credit card number alone.

Then I found it here:

http://en.wikipedia.org/wiki/List_of_Bank_Identification_Numbers

Edit - Don't forget about PCI Compliance if you are taking credit card numbers for payment.

Edit - Apparently the previous wikipedia page has been deleted. This appears to have similar information.

Use BinList. It simply tells you the country of origin by checking the first 6 digits of the card number. It has a neat Json based API as well.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!