Get billing account
get_billing_accountRead the selected team's usable credit balance and billing eligibility. API keys inherit their owner's team billing permissions. OAuth integrations require explicit billing consent; account linking alone does not grant it. This read never submits a payment.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_billing_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | Team whose credits and billing access apply. | |
| currency | No | Purchase currency (usd). | |
| teamName | No | Team display name. | |
| creditPack | No | Allowed credit quantities for a new order. | |
| canPurchase | Yes | Whether this credential may buy credits right now. | |
| accessExpiresAt | No | When delegated billing access expires, in Unix seconds. | |
| creditsRemaining | Yes | Usable credit balance. | |
| purchaseLimitMinor | No | Per-purchase limit in minor currency units (cents). | |
| purchaseRestriction | No | Why purchases are unavailable, when canPurchase is false. |