Direct Debit Wallet Transactions
This operation retrieves information about all the available payment methods available for the merchant through Juspay. Consume data for all enabled wallets on the Juspay platform from the response and display them on the Checkout page.
Execute this action to retrieve user wallet details. This operation provides a list of linked wallets along with their respective balances, where applicable, for the specified customerId. Perform this step to obtain the balance of linked wallets for the existing customers.
Default value for 'showLoader' param, when not passed, is set to false.
When creating a wallet for a customer, an OTP will be generated. To link the wallet and enable direct debit, you should build a user interface (UI) to input the OTP.
Completes the authentication and linking process of the wallet with the customer account. OTP entered by the user is forwarded to Juspay. On successful verification of the OTP, the wallet is linked with the customer object. If failed, then the linked attribute in response will remain to be false.
After successfully linking, if there's enough balance, you can use the wallet balance for payment. If the balance is insufficient, user will be redirected addmoney page of the wallet.
Create Payload to call Process API for Direct Debit Wallet transaction. Refer code snippets on the right for reference.
Unique uuid-v4 string
Example: abcd-12345-abcd-12345
Value: in.juspay.hyperapi
Parameters required to call Hyper SDK API
Must be walletTxn for wallet Process calls.
order id pertaining to the order for which the payment is started.
The actual payment method that was selected by the user. For WALLET transactions, it must be one of the instruments from Payment method table.
Juspay wallet token for Authenticating linked wallets transactions. This is available in the linkWallet response or call refreshwallet Process API to get the update token before walletTxn call
Required for client side authentication
The key offers should be passed only when juspay offers are being used. The value for this key can set as the offerID which is received from /v1/offers/list api
To show a loader for the processing state.

