---
title: "Get sub-account spending"
method: GET
path: "/v1/sub-accounts/{id}/balance"
tags: ["Sub-Accounts"]
---

# Get sub-account spending

`GET /v1/sub-accounts/{id}/balance`

Get spending information for a sub-account. Returns the parent team's balance, the sub-account's total spending, and its credit limit (spending cap). Requires a parent project API key; sub-account API keys receive HTTP 403.

## Path parameters

- `id` string, required

## Response `200`

Sub-account balance.

- BalanceResponse
  - `balance` integer, required — Team balance in cents. All charges are billed to the parent team.
  - `currency` string, required
  - `creditLimit` integer, nullable — Spending cap in cents (only for sub-accounts).
  - `totalSpent` integer, nullable — Total amount spent by this sub-account in cents (only for sub-accounts).
  - `isSubAccount` boolean — Whether this API key belongs to a sub-account.

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden. Sub-account API keys cannot manage sub-accounts.
- `404` — Sub-account not found.

---

[API](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api.md) · [All operations](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zavudev/zavu-unified-messaging-layer-api/revisions/07b87b6ae707/schema)
