Description
Checks client balance
Parameters
Code Block | ||
---|---|---|
| ||
client_account_code |
Request
Code Block | ||
---|---|---|
| ||
curl -X POST \-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \ -H "Content-Type: application/json" \ -d '{"client_account_code":"2144533795"}' \ -k https://your.domain.com/api/usersv2/get_credit_balance |
Response
Code Block | ||
---|---|---|
| ||
[ { "statusresult": "success",[ { "id":"29", "resultsclient_id":"4", [ { "credit_balance": "20.000"balance_uuid":"68adcf4b-949e-4a73-9b45-3251728952c7", "balance_type":"*monetary", "balance_name":"", "value":60.662376, "weight":10, "enabled":true, "created_date":"2019-01-08T23:15:00.003951Z" } ] }, "Status: 200 OK" ] |