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

 ̄綄美尐妖づ 提交于 2019-12-19 07:33:43

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/22798828/what-card-types-are-recognized-by-card-io-does-card-io-support-recognizing-merc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!