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 (nonatomic, readonly) NSString *_Nonnull last4;
  • The card’s expiration month. 1-indexed (i.e. 1 == January)

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger expMonth;
  • The card’s expiration year.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger expYear;
  • The cardholder name as read from the card, in ISO 7813 format. May include alphanumeric characters, special characters and first/last name separator (/).

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *cardholderName;
  • The card’s funding type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SCPCardFundingType funding;
  • The issuing brand of the card.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SCPCardBrand brand;
  • A string uniquely identifying this card number.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull fingerprint;
  • 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 (nonatomic, readonly, nullable) NSString *generatedCard;
  • Receipt information for the card present transaction. Only present for EMV transactions.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) SCPReceiptDetails *receipt;
  • (Only applicable to EMV payments) The authorization data from the card issuer.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *emvAuthData;
  • 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;