SCPCardPresentDetails


@interface SCPCardPresentDetails : NSObject <SCPJSONDecodable>

An object representing details from a transaction using a card_present payment method.

  • The last 4 digits of the card.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull last4;

    Swift

    var last4: String { get }
  • The card’s expiration month. 1-indexed (i.e. 1 == January)

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger expMonth;

    Swift

    var expMonth: Int { get }
  • The card’s expiration year.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger expYear;

    Swift

    var expYear: Int { get }
  • The card’s funding type.

    Declaration

    Objective-C

    @property (readonly, nonatomic) SCPCardFundingType funding;

    Swift

    var funding: CardFundingType { get }
  • The issuing brand of the card.

    Declaration

    Objective-C

    @property (readonly, nonatomic) SCPCardBrand brand;

    Swift

    var brand: CardBrand { get }
  • A string uniquely identifying this card number.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull fingerprint;

    Swift

    var fingerprint: String { get }
  • ID of a card PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *generatedCard;

    Swift

    var generatedCard: String? { get }
  • Receipt information for the card present transaction. Only present for EMV transactions.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) SCPReceiptDetails *receipt;

    Swift

    var receipt: SCPReceiptDetails? { get }
  • (Only applicable to EMV payments) The authorization data from the card issuer.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *emvAuthData;

    Swift

    var emvAuthData: String? { get }
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    - (nonnull instancetype)new;