In order to retrieve your Organisation's account balance, you can use the Get you Organisation API:
https://docs.esim-go.com/api/#get-/organisation
You will receive your current balance in the response.
This function could be automated to retrieve your balance at midnight every day/week/month.