Skip to content

Application balance

Description

Displays application balance for a given app_token.

GET https://impact.dots.eco/api/v1/application-balance/{app_token}

Please check Headers and authorization.

Example request

The minimal request that will work.

curl --location --request GET 'https://impact.dots.eco/api/v1/application-balance/APP_TOKEN' \
--header 'Content-Type: application/json' \
--header 'auth-token: YOUR_AUTH_TOKEN' \
--data-raw '{
}'

Example response

success

{
    "balance" : 15
}

Possible error responses

Not Found

{
    "message": "The app_token is invalid."
}

Status: 404 Not Found Exception

Access Denied

{
    "message": "Your company is not yet activated for production requests. Please contact your account manager at Dots.eco to activate it."
}

Status:403 Access Denied HttpException