curl "https://api.brightdata.com/customer/balance" \
  -H "Authorization: Bearer API_TOKEN"
{
    "balance":456,
    "pending_costs":123
}

API Endpoint: GET /api/customer/balance

Where:

valuedescription
balancethe amount of money in your account
pending_coststhe amount of money you will be billed for, as of this moment, in the next billing cycle