Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bank name from credit card details?

Tags:

credit-card

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.

like image 786
Tejaswi Yerukalapudi Avatar asked Jul 29 '09 14:07

Tejaswi Yerukalapudi


1 Answers

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!

like image 75
2 revs, 2 users 89% Avatar answered Sep 18 '22 10:09

2 revs, 2 users 89%