2014-04-01 92 views
4

沒有card.io的文檔,我可以找到除源註釋之外的其他文檔。card.io能識別哪些卡片類型? card.io是否支持識別商戶卡?

CardIOCreditCardInfo.h文件具有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' 
}; 

card.io是否僅支持Amex,JCB,Visa,Mastercard和Discover的自動卡號提取?

card.io是否不支持卡類號碼提取,例如Lowe's,Home Depot或Target等商戶卡?

卡號提取是否有其他要求,比如卡號需要浮雕?

CardIOCreditCardTypeAmbiguous和Unrecognized是否僅用於手動輸入的卡號?

回答

6

dave from card.io here。

card.io是否僅支持自動提取美國運通卡,JCB卡,Visa卡,萬事達卡和Discover卡號碼?

正確。

card.io是否不支持卡類號碼提取,例如Lowe,Home Depot或Target等商戶卡?

正確,但前提條件是某些商家的卡片使用的數字與標準信用卡類型(如Visa或Mastercard)的格式相對應。 card.io會識別這些卡。

卡號提取有沒有其他要求,比如卡號需要浮雕?

card.io目前只能處理傳統的浮雕卡片。

CardIOCreditCardTypeAmbiguous和Unrecognized是否僅用於手動輸入的卡號?

正確。