What card types are recognized by card.io? Does card.io support recognizing merchant cards?

StackOverflow https://stackoverflow.com/questions/22798828

  •  25-06-2023
  •  | 
  •  

Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top