Asks the delegate to create an add payment request.
- iOS 9.0+
- Mac Catalyst 13.0+
Kit (Apple Pay and Wallet)
The view controller asking for the add payment request.
An array of NSData objects. Each object contains a DER encoded X.509 certificate, with the leaf first and root last. You must download the root CA to validate the entire chain.
A one-time nonce value generated by Apple’s servers. This nonce must be included in the add payment request’s encrypted data.
The device-specific signature for the nonce.This signature must be included in the add payment request’s encrypted data.
A completion handler. Call this block after you have created your add payment request.
A newly created add payment request. You must pass a request object to the handler within 20 seconds or the request will fail and the system will display an error message to the user.
This method provides the data needed to create an add payment request. Pass the certificate chain to the issuer server. The server returns an encrypted JSON file containing the card data. After you receive the encrypted data, create a add payment request and call the handler.