SCPSimulatedCardType
Objective-C
enum SCPSimulatedCardType : NSUInteger {}
                Swift
enum SimulatedCardType : UInt, @unchecked Sendable
                Enum used to simulate various types of cards and error cases.
- 
                  
                  
Visa
Declaration
Objective-C
SCPSimulatedCardTypeVisa = 0Swift
case visa = 0 - 
                  
                  
Visa (debit)
Declaration
Objective-C
SCPSimulatedCardTypeVisaDebitSwift
case visaDebit = 1 - 
                  
                  
Visa debit supporting both international and US Common Debit applications
Declaration
Objective-C
SCPSimulatedCardTypeVisaUsCommonDebitSwift
case visaUsCommonDebit = 2 - 
                  
                  
Mastercard
Declaration
Objective-C
SCPSimulatedCardTypeMastercardSwift
case mastercard = 3 - 
                  
                  
Mastercard (debit)
Declaration
Objective-C
SCPSimulatedCardTypeMasterDebitSwift
case masterDebit = 4 - 
                  
                  
Mastercard (prepaid)
Declaration
Objective-C
SCPSimulatedCardTypeMastercardPrepaidSwift
case mastercardPrepaid = 5 - 
                  
                  
American Express
Declaration
Objective-C
SCPSimulatedCardTypeAmexSwift
case amex = 6 - 
                  
                  
American Express
Declaration
Objective-C
SCPSimulatedCardTypeAmex2Swift
case amex2 = 7 - 
                  
                  
Discover
Declaration
Objective-C
SCPSimulatedCardTypeDiscoverSwift
case discover = 8 - 
                  
                  
Discover
Declaration
Objective-C
SCPSimulatedCardTypeDiscover2Swift
case discover2 = 9 - 
                  
                  
Diners Club
Declaration
Objective-C
SCPSimulatedCardTypeDinersSwift
case diners = 10 - 
                  
                  
Diners Club (14 digit card)
Declaration
Objective-C
SCPSimulatedCardTypeDiners14DigitSwift
case diners14Digit = 11 - 
                  
                  
JCB
Declaration
Objective-C
SCPSimulatedCardTypeJcbSwift
case jcb = 12 - 
                  
                  
UnionPay
Declaration
Objective-C
SCPSimulatedCardTypeUnionPaySwift
case unionPay = 13 - 
                  
                  
Interac
Declaration
Objective-C
SCPSimulatedCardTypeInteracSwift
case interac = 14 - 
                  
                  
Eftpos Australia
Declaration
Objective-C
SCPSimulatedCardTypeEftposAuDebitSwift
case eftposAuDebit = 15 - 
                  
                  
Eftpos Australia/Visa
Declaration
Objective-C
SCPSimulatedCardTypeEftposAuVisaDebitSwift
case eftposAuVisaDebit = 16 - 
                  
                  
Eftpos Australia/Mastercard
Declaration
Objective-C
SCPSimulatedCardTypeEftposAuDebitMastercardSwift
case eftposAuDebitMastercard = 17 - 
                  
                  
Charge is declined with a card_declined code.
Declaration
Objective-C
SCPSimulatedCardTypeChargeDeclinedSwift
case chargeDeclined = 18 - 
                  
                  
Charge is declined with a card_declined code. The decline_code attribute is insufficient_funds.
Declaration
Objective-C
SCPSimulatedCardTypeChargeDeclinedInsufficientFundsSwift
case chargeDeclinedInsufficientFunds = 19 - 
                  
                  
Charge is declined with a card_declined code. The decline_code attribute is lost_card.
Declaration
Objective-C
SCPSimulatedCardTypeChargeDeclinedLostCardSwift
case chargeDeclinedLostCard = 20 - 
                  
                  
Charge is declined with a card_declined code. The decline_code attribute is stolen_card.
Declaration
Objective-C
SCPSimulatedCardTypeChargeDeclinedStolenCardSwift
case chargeDeclinedStolenCard = 21 - 
                  
                  
Charge is declined with an expired_card code.
Declaration
Objective-C
SCPSimulatedCardTypeChargeDeclinedExpiredCardSwift
case chargeDeclinedExpiredCard = 22 - 
                  
                  
Charge is declined with a processing_error code.
Declaration
Objective-C
SCPSimulatedCardTypeChargeDeclinedProcessingErrorSwift
case chargeDeclinedProcessingError = 23 - 
                  
                  
Refund is declined with a refund_fail error.
Declaration
Objective-C
SCPSimulatedCardTypeRefundFailedSwift
case refundFailed = 24 - 
                  
                  
Payment attaches Online Pin to the transaction. cardholder_verification_method will be set to online_pin in the resulting paymentIntent WisePad3 only
Declaration
Objective-C
SCPSimulatedCardTypeOnlinePinCvmSwift
case onlinePinCvm = 25 - 
                  
                  
This flow simulates an Online Pin scenario with SCA compliance. Payment is retried and user is prompted to input their pin. Next an online pin being entered is simulated.
cardholder_verification_method will be set to online_pin in the resulting paymentIntent. WisePad3 onlyDeclaration
Objective-C
SCPSimulatedCardTypeOnlinePinScaRetrySwift
case onlinePinScaRetry = 26 - 
                  
                  
Payment attaches Offline Pin to the transaction. cardholder_verification_method will be set to offline_pin in the resulting paymentIntent WisePad3 only
Declaration
Objective-C
SCPSimulatedCardTypeOfflinePinCvmSwift
case offlinePinCvm = 27 - 
                  
                  
This flow simulates an Offline Pin scenario with SCA compliance. Payment is retried and user is prompted to insert their card. Next a contact retry and an offline pin being entered are simulated.
cardholder_verification_method will be set to offline_pin in the resulting paymentIntent. WisePad3 onlyDeclaration
Objective-C
SCPSimulatedCardTypeOfflinePinScaRetrySwift
case offlinePinScaRetry = 28 
      SCPSimulatedCardType Enumeration Reference