Skip to content

Account & Quotas

Query wallet balance and Cloud Phone usage quotas.

Operations

Get Account Balance and Cloud Phone Quotas

Request

Return the team's wallet balance and Cloud Phone usage allowances.

  • Preconditions: the calling member needs the cost permission. The wallet is looked up by team, so the figures are team-wide rather than per member.
  • Effect: none. Read-only. Safe to retry with bounded backoff.
  • Units: balance is the wallet balance in cents, not in currency units. remainingDuration is Cloud Phone minutes and remainingConcurrency a slot count; both are clamped at 0 rather than going negative.
  • Contents: exactly these three figures. Frozen wallet amounts, used-versus-granted minute splits and expiry dates exist upstream but are deliberately not exposed here.
  • Note: the call fails as a whole if either the wallet or the quota lookup fails; it never returns partial figures.
Security
Authorization
curl -i -X GET \
  https://api.morelogin.com/balance \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Request processed; inspect code for the business result

Bodyapplication/json
codeintegerrequired

Business result code; 0 indicates success

Example:0
msgstring or nullrequired

Error message; null when successful

Example:null
requestIdstringrequired

Request ID for troubleshooting

Example:"1d4f3ea968664593860b94b35d4ebf5e"
dataobjectrequired
Response
{ "code": 0, "msg": null, "data": { "balance": 12500, "remainingDuration": "120", "remainingConcurrency": 3 }, "requestId": "1d4f3ea968664593860b94b35d4ebf5e" }