There is no documentation for card.io that I can find other than source comments.
The CardIOCreditCardInfo.h file has an enum for CardIOCreditCardType.
typedef NS_ENUM(NSInteger, CardIOCreditCardType) {
/// Deprecated.
/// @see CardIOCreditCardTypeUnrecognized, CardIOCreditCardTypeAmbiguous
CardIOCreditCardTypeUnknown __attribute__((deprecated("Use CardIOCreditCardTypeUnrecognized or CardIOCreditCardTypeAmbiguous instead."))) = 0,
/// The card number does not correspond to any recognizable card type.
CardIOCreditCardTypeUnrecognized = 0,
/// The card number corresponds to multiple card types (e.g., when only a few digits have been entered).
CardIOCreditCardTypeAmbiguous = 1,
/// American Express
CardIOCreditCardTypeAmex = '3',
/// Japan Credit Bureau
CardIOCreditCardTypeJCB = 'J',
/// VISA
CardIOCreditCardTypeVisa = '4',
/// MasterCard
CardIOCreditCardTypeMastercard = '5',
/// Discover Card
CardIOCreditCardTypeDiscover = '6'
};
Does card.io only support automatic card number extraction of Amex, JCB, Visa, Mastercard, and Discover?
Does card.io not support card number extraction for merchant cards like Lowe's, Home Depot, or Target?
Are there any other requirements on card number extraction, such as the card number having to be embossed?
Is CardIOCreditCardTypeAmbiguous and Unrecognized only used for manually-entered card numbers?
Dave from card.io here.
Does card.io only support automatic card number extraction of Amex, JCB, Visa, Mastercard, and Discover?
Correct.
Does card.io not support card number extraction for merchant cards like Lowe's, Home Depot, or Target?
Correct, with the proviso that some merchant's cards employ numbers that correspond to the format of a standard credit card type, such as Visa or Mastercard. card.io will recognize those cards.
Are there any other requirements on card number extraction, such as the card number having to be embossed?
card.io currently handles only traditional, embossed cards.
Is CardIOCreditCardTypeAmbiguous and Unrecognized only used for manually-entered card numbers?
Correct.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With