jessepollak / card

:credit_card: make your credit card form better in one line of code
MIT License
11.65k stars 1.48k forks source link

not sure if this is still relevant but for people with the same question: you can use the bin of the card to decode if it's type, the bin is the bank identification number of each card and it identifies a card down to the bank which issued it, with a BIN API like the one from binlist.io you are easily able to check which card goes with which card type. #657

Closed Patcharawan1979 closed 1 year ago

Patcharawan1979 commented 1 year ago
          not sure if this is still relevant but for people with the same question: you can use the bin of the card to decode if it's type, the bin is the bank identification number of each card and it identifies a card down to the bank which issued it, with a BIN API like the one from binlist.io you are easily able to check which card goes with which card type.

Originally posted by @xliquid808 in https://github.com/jessepollak/card/issues/604#issuecomment-1553566550

Patcharawan1979 commented 1 year ago

@Patcharawan1979