NAZIK NAZIK - 3 months ago 26
iOS Question

Is it possible to get credit card type using card.io?

I'm using card.io ios sdk for credit card scanning.

Is it possible to get credit card type(ie, whether it is Amercan Express or Master or visa) using card.io?

What are all the other possible details from credit card that we can get using card.io?

Answer

I have no experience of using card.io.
But your question got me all curious about this API. In github, I found it and in there, there is a file: CardIOCreditCardInfo.h

// Derived from cardNumber.
// When provided by card.io, cardType will not be CardIOCreditCardTypeUnrecognized or CardIOCreditCardTypeAmbiguous.
@property(nonatomic, assign, readonly) CardIOCreditCardType cardType;

Hope this helps. I am trying to learn this, if it doesnot help you please tell me.