Exchange process within the Mobile SDK
- The mobile application submits a paymentDataRequestto Apple Pay API to collect the buyer’s card details.
- The API Apple Pay returns a PaymentData object containing the encrypted data (also called "payload").
- The mobile application transmits the payload to the merchant server.
- The merchant server creates and submits a createPayment request using the payload to populate
the walletPayload property of the cardRequest object. The
propertyschemeis valued at
APPLE_PAY.The other properties of the cardRequest object must not be populated.
- The payment gateway analyzes the request, decrypts the card data and proceeds to the authorization request. It then transmits the payment result to the merchant server.
- The merchant server receives a createPaymentResponse and analyzes the payment result. It transmits the information to the app that proceeds to process it.