POST
/
api
/
v2
curl --request POST \
  --url https://undrctrl.id/api/v2/ \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "apiKey",
  "action": "balance"
}'
{
  "balance": "1000.92",
  "currency": "IDR"
}

Body

application/json
key
string
required

The API key to fetch the account balance

Example:

"apiKey"

action
string
required

Action to be performed, set to balance

Example:

"balance"

Response

200
application/json
OK
balance
string
Example:

"1000.92"

currency
string
Example:

"IDR"