Hey! These docs are for version 3.2, which is no longer officially supported. Click here for the latest version, 1.0!

Link

Completes the authentication and linking process of the wallet with the customer account. OTP received from the authenticate API call is forwarded to Juspay using this API for linking the wallet. On successful verification of the OTP, the wallet is linked with the customer object. If failed, then linked attribute will remain to be false. Returns the wallet object. Also generates one-time use token for direct debit transactions.

  Returns:   Wallet Object     (click to view)
   Provides details of a selected wallet of a customer:
ParameterTypeDescription
idStringThe ID of the wallet
objectString"wallet_account"
walletStringName of wallet
tokenStringOne time token used to debit from wallet (expires after ?? minutes)
current_balanceStringWallet balance as of last balance update with the "Refresh Wallet API".
linkedbooleanIf true, wallet is linked with the respective customer account.
Merchant can then use the given token to debit directly from the wallet.
Note: The Create, Authenticate, and Delink APIs will always return "false" for this parameter.
last_refreshedStringRepresents the date & time when the balance was updated last.
NOTE:  For linked wallets, the balance in the response may not be the current balance. The last_refreshed field represents the date & time when the balance was updated last. Use Refresh wallet API to update the balance for individual wallets. This results in a network call to the wallet provider and hence the response might be slow.
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!