cURL
curl --request POST \ --url https://undrctrl.id/api/v2/ \ --header 'Content-Type: application/json' \ --data '{ "key": "apiKey", "action": "balance" }'
{ "balance": "1000.92", "currency": "IDR" }
Retrieve the balance and currency for the authenticated user.
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?