SQIPBuyerVerificationSDK

@interface SQIPBuyerVerificationSDK : NSObject

Manages the SCA buyer verification flow and returns a verification token for a payment source ID.

  • The Buyer Verification SDK singleton. Use this to verify the customer prior to charging or storing a card.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull, class)
        SQIPBuyerVerificationSDK *shared;

    Swift

    class var shared: SQIPBuyerVerificationSDK { get }
  • Verifies the buyer and provides a verification token

    Declaration

    Objective-C

    - (void)verifyWithParameters:(nonnull SQIPVerificationParameters *)parameters
                           theme:(nonnull SQIPTheme *)theme
                  viewController:(nonnull UIViewController *)viewController
                         success:(nonnull SQIPVerificationSuccessCompletion)success
                         failure:(nonnull SQIPVerificationFailureCompletion)failure;

    Swift

    func verify(with parameters: SQIPVerificationParameters, theme: SQIPTheme, viewController: UIViewController, success: @escaping SQIPVerificationSuccessCompletion, failure: @escaping SQIPVerificationFailureCompletion)

    Parameters

    parameters

    Object that contains information necessary to verify the buyer.

    theme

    The theme instance used to style the challenge.

    viewController

    The viewController under the presented challenge.

    success

    The verificationDetails object that is returned if verify succeeded.

    failure

    The error object that is returned if verify failed.