STPSourceVerification

@interface STPSourceVerification : NSObject <STPAPIResponseDecodable>

Information related to a source’s verification flow.

  • Unavailable

    You cannot directly instantiate an STPSourceVerification. You should only use one that is part of an existing STPSource object.

    You cannot directly instantiate an STPSourceVerification. You should only use one that is part of an existing STPSource object.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • The number of attempts remaining to authenticate the source object with a verification code.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *attemptsRemaining;

    Swift

    var attemptsRemaining: NSNumber? { get }
  • The status of the verification.

    Declaration

    Objective-C

    @property (readonly, nonatomic) STPSourceVerificationStatus status;

    Swift

    var status: STPSourceVerificationStatus { get }