Sub-Accounts
Get sub-account spending
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.
get/v1/sub-accounts/{id}/balance
Path parameters
idstring required
Sub-account ID.
Response
Sub-account balance.
Example response
{
"currency": "usd"
}