Create a key
Open Developers in your company console, select the sandbox environment, and create a key withbalance:read. Store it on your server.
Read your balance
SetPLANE_API_KEY to your sandbox key in your server environment, then run:
available, held, and environment. The environment is determined by the API key. Money values are decimal strings.