Link Wallet
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.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
Send it as link if you want to complete the authentication/linking process.
OTP sent by the provider to the customer’s registered mobile number.
Unique identifier for the wallet account
Example :wlt_q23xzki3pazgtezo
wallet_account
Payment gateway provider (e.g., PAYTM, AMAZONPAY)
Authentication token for the linked wallet (null if unlinked)
Example :tok_winysteev9eftrwcv6me
Current available balance in the wallet (null if unlinked or unavailable)
Boolean indicating if the wallet is successfully linked to the gateway
Timestamp of when the wallet balance was last refreshed (null if never refreshed)
Example: 2016-08-01T08:07:52+0000
Additional wallet-specific data including mobile number and device ID (may be null)
Reference ID provided by the payment gateway (may be null)

