Sub-Accounts
Get sub-account spending
Changed onGet 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.
get/v1/sub-accounts/{id}/balance
Request
- Base URLhttps://api.zavu.dev
- URLhttps://api.zavu.dev/v1/sub-accounts/{id}/balance
- AuthHTTP bearer
Path parameters
idstring required
Sub-account ID.
Response
Sub-account balance.
Example response
{
"currency": "usd"
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info