SQIPApplePayNonceRequest

@interface SQIPApplePayNonceRequest : NSObject

Lets the application retrieve a card nonce using a PKPayment instance obtained from Apple Pay.

  • Creates a new Apple Pay nonce request.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPayment:(nonnull PKPayment *)payment;

    Parameters

    payment

    The PKPayment that should be used to request a nonce.

  • Performs the request to retrieve a card nonce.

    Declaration

    Objective-C

    - (void)performWithCompletionHandler:
        (nonnull SQIPApplePayNonceRequestCompletionHandler)completionHandler;

    Parameters

    completionHandler

    The completion handler to be called upon success or failure of the nonce request.