Retrieve the balance and currency for the authenticated user.
curl --request POST \ --url https://undrctrl.id/api/v2/ \ --header 'Content-Type: application/json' \ --data '{ "key": "apiKey", "action": "balance" }'
{ "balance": "1000.92", "currency": "IDR" }
The API key to fetch the account balance
API key
"apiKey"
Action to be performed, set to balance
balance
"balance"
OK
"1000.92"
"IDR"
Was this page helpful?