Apple Pay

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

    See more

    Declaration

    Objective-C

    @interface SQIPApplePayNonceRequest : NSObject

    Swift

    class SQIPApplePayNonceRequest : NSObject
  • A completion handler that handles the result of an Apple Pay nonce request.

    See

    SQIPApplePayNonceRequestError for possible error types.

    Declaration

    Objective-C

    typedef void (^SQIPApplePayNonceRequestCompletionHandler)(
        SQIPCardDetails *_Nullable, NSError *_Nullable)

    Swift

    typealias SQIPApplePayNonceRequestCompletionHandler = (SQIPCardDetails?, Error?) -> Void

    Parameters

    cardDetails

    Contains details about the card, including the nonce. nil when the request fails.

    error

    An error with domain SQIPApplePayNonceRequestErrorDomain when the nonce request fails; otherwise, nil.

  • The domain for errors that occur when requesting a card nonce using Apple Pay.

    Declaration

    Objective-C

    extern NSString *const _Nonnull SQIPApplePayNonceRequestErrorDomain

    Swift

    let SQIPApplePayNonceRequestErrorDomain: String
  • Possible error codes that can be returned as a result of attempting to create a card nonce.

    See more

    Declaration

    Objective-C

    enum SQIPApplePayNonceRequestError {}

    Swift

    typealias SQIPApplePayNonceRequestError.Code._ErrorType = SQIPApplePayNonceRequestError