Transaction Initiation
Once the order is created and eligibility is determined, initiate the transaction when the user clicks the Proceed to Pay button.
Steps to Initiate the Transaction
Invoke the
walletTxnProcess Call
On clicking Proceed to Pay, trigger thewalletTxnprocess using the Juspay SDK. This begins the Apple Pay transaction flow.Apple Pay Sheet Presentation
Juspay will automatically display the Apple Pay sheet to the user. The user can authenticate using Face ID, Touch ID, or passcode based on their device settings.User Completes Payment
Once the user authorizes the payment, Juspay securely processes the transaction using the Apple Pay token in the background.Handle the Process Result
The SDK will return a response containing the transaction result.
Request Parameters
Unique identifier for the request.
Always set to in.juspay.hyperapi
Contains the main request payload.
payload Object Parameters
Type of action to be performed. Use walletTxn for wallet-based transactions.
Unique identifier for the order.
Payment method to be used.
Example:- APPLEPAY
Specifies the SDK environment
Example:- WEB_APPLEPAY
Authentication token generated by the merchant backend.
Include only if present in eligibility response
Include only if present in eligibility response.
Displays a loading indicator during the transaction flow.

