SCPCardDetails


@interface SCPCardDetails : NSObject <SCPJSONDecodable>

Contains details about a user’s credit card.

  • The issuer of the card.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SCPCardBrand brand;
  • Two-letter ISO code representing the country of the card.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *country;
  • Two-digit number representing the card’s expiration month. 0 if the expiration month was missing.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger expMonth;
  • Four-digit number representing the card’s expiration year. 0 if the expiration year was missing.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger expYear;
  • Card funding type. Ex: credit, debit, etc.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SCPCardFundingType funding;
  • The last four digits of the card.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *last4;
  • Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *fingerprint;
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    - (nonnull instancetype)init;