Unaligned API
Balance
Check what is left, from code.
GET /v1/balance
curl https://api.unaligned.pw/v1/balance -H "Authorization: Bearer $UNALIGNED_KEY"Each Chat response already returns balance, so you only need this endpoint before the first request, or to monitor several apps sharing an account.
With a reseller's customer key (Reseller API), balance is what that key's credit has left: never the reseller's own balance.