Fetch Wallet Balance
DevelopingPOST
https://api-demo.hybridmlmsoftware.com/rest/apiThe Get Balance API allows users to retrieve their current account balance of corresponding wallet.You will get wallet id from getWalletList API. This endpoint is useful for applications that need to display the user's available balance information of corresponding wallets.
Request
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxNCIsImp0aSI6IjBiZTg1ZDk3OTQyODhhMDE1YjE1NmM4MzU0NWJhMzBmODlmNDJhYWYyODVmNmJhYTljNTQ1ZGQxMTY3ZDBkZTU1MzdjYjhiYjRjNmQwODEzIiwiaWF0IjoxNzE2MzU5MDIxLjk1MTMzNTkwNjk4MjQyMTg3NSwibmJmIjoxNzE2MzU5MDIxLjk1MTMzODA1Mjc0OTYzMzc4OTA2MjUsImV4cCI6MTc0Nzg5NTAyMS45NDUyODg4OTY1NjA2Njg5NDUzMTI1LCJzdWIiOiIzIiwic2NvcGVzIjpbIioiXX0.BZgZ-FSc46BkkKMRiKTRoR_Q34zjngW5ubfpLPqrGUqWW-tiObWP8ZGa5JK62FtqWtZ8gVRufknW2tRnfuo5yf4XRyrf8I7p6EG9fdeT0JporThnuMgGszPZZeDKKjbgOtj0hJX8AM39Ezfu-o-tY7XG4uG8LhYxsh1PlLOxDVawwoS_7tIvCfhBAbh59OeK3c_rikHuuunO_DIqCYl3LFs0si-ooZOh15xGjERCeoWxhDmLrlZkRaMywdR9gCWCho38bGuRJdm954xHzkK68ZBMB6w-xoHvsmCcQ8keQtRP4XyJNmKaBTuErOsP_GB0wL9jiCm4NKPLeJLC-O4disbcnGXR1A37Jmknp2seeUOFvllxUp27W_9xBq3GR_QprrHPdyBmsbmah1TdSnvc1fbTpDu5mvk_GewhRATLLBDisCyJ7rlMO9uTOqMzXC1VuXPLuC-kOEeAzRi_C8tgCHde0t1D--uZr_vFuD4CpfbSHGKJ7AmKjKmlW4fb7j_7jKCFTG5MpPSb6syylKAKnCtAXiJGyuKITtMSzET8krBws3uSIzd4m6UoLO6VOXizOlr6CyIXtXCuJ33jxGA6O_z34BKxvZ_Asu5MN7nPH_7diC-W8d9Ckv6Z377ibx5k0IZgutlJFnBhh31Sw40T474-tBik9k_-MxRATrFiOqk
Body Params multipart/form-data
purpose
string
required
Example:
getBalance
params[wallet_id]
integer
required
you will get wallet details from Retrieve List Of Wallets Api from that you choose wallet_id you want.
Example:
50
Request samples
Responses
Success(200)
Parameter Error(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": true,
"data": {
"totalBalance": "$164.40"
},
"message": {
"success": "true"
}
}
Last modified: 7 months ago