Get the wallet details. If the wallet is linked, a one-time use token is generated for it, which can be used immediately for a direct debit transaction. If a wallet is not linked, and a direct debit is enabled by the provider for your setup, you can link the wallet by using the Authenticate and Link APIs.
Returns: Wallet Object (click to view)
Provides details of a selected wallet of a customer:
|id||String||The ID of the wallet|
|wallet||String||Name of wallet|
|token||String||One time token used to debit from wallet (expires after ?? minutes)|
|current_balance||String||Wallet balance as of last balance update with the "Refresh Wallet API".|
|linked||boolean||If 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_refreshed||String||Represents 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.