BTCardRequest

Objective-C

@interface BTCardRequest : NSObject

Swift

class BTCardRequest : NSObject

Contains information about a card to tokenize

UnionPay properties

  • Deprecated

    The UnionPay SMS integration is deprecated, as UnionPay can now be processed as a credit card through their partnership with Discover.

    The mobile phone number to use to verify the enrollment via SMS.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *mobilePhoneNumber;

    Swift

    var mobilePhoneNumber: String? { get set }
  • Deprecated

    The UnionPay SMS integration is deprecated, as UnionPay can now be processed as a credit card through their partnership with Discover.

    The country code for the mobile phone number. This string should only contain digits.

    Note

    By default, this is set to 62.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *mobileCountryCode;

    Swift

    var mobileCountryCode: String? { get set }
  • Deprecated

    The UnionPay SMS integration is deprecated, as UnionPay can now be processed as a credit card through their partnership with Discover.

    The enrollment verification code sent via SMS to the mobile phone number. The code is needed to tokenize a UnionPay card that requires enrollment.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *smsCode;

    Swift

    var smsCode: String? { get set }
  • Deprecated

    The UnionPay SMS integration is deprecated, as UnionPay can now be processed as a credit card through their partnership with Discover.

    The UnionPay enrollment ID

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *enrollmentID;

    Swift

    var enrollmentID: String? { get set }