get_account_financials is only available when the seller declares account_financials: true in get_adcp_capabilities. It applies to operator-billed accounts only. For agent-billed accounts, the agent’s own billing system is the source of truth.
Response Time: ~1s.
Request Schema: /schemas/latest/account/get-account-financials-request.json
Response Schema: /schemas/latest/account/get-account-financials-response.json
Quick start
Check remaining credit before launching a campaign:Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account | object | Yes | Account reference — by account_id or natural key (brand + operator + optional sandbox). Must be an operator-billed account. |
period | object | No | Date range for spend summary: start and end as ISO 8601 dates. Defaults to the current billing cycle if omitted. |
Response
Success response: Returns financial data for the account. Onlyaccount, currency, period, and timezone are guaranteed — everything else depends on what the seller exposes.
| Field | Description |
|---|---|
account | Account reference, echoed from the request. |
currency | ISO 4217 currency code for all monetary amounts. |
period | Actual period covered (start, end). May differ from requested period if adjusted to billing cycle boundaries. |
timezone | IANA timezone of the seller’s billing day boundaries (e.g., America/New_York). All dates in the response are calendar dates in this timezone. |
spend | Spend summary: total_spend (amount in currency) and optional media_buy_count. |
credit | Present for credit-based accounts. Contains credit_limit, available_credit, and optional utilization_percent (0-100). |
balance | Present for prepay accounts. Contains available balance and optional last_top_up (amount, date). |
payment_status | current, past_due, or suspended. |
payment_terms | Payment terms in effect: net_15, net_30, net_45, net_60, net_90, or prepay. |
invoices | Array of recent invoices: invoice_id, amount, status (draft, issued, paid, past_due, void), optional period, due_date, paid_date. |
errors— Array of operation-level errors. No financial data is present.
errors, never both.
Common scenarios
Budget check before campaign launch
Prepay balance monitoring
Error handling
| Error Code | Description | Resolution |
|---|---|---|
UNSUPPORTED_FEATURE | Account uses agent billing — financials not available from seller | Query your own billing system for agent-billed accounts |
UNSUPPORTED_FEATURE | Seller doesn’t have financial data for this account or period | Verify account_financials capability is true |
ACCOUNT_NOT_FOUND | Account does not exist or is not accessible | Check account reference or re-sync |
Next steps
- list_accounts — Discover accounts and check their status
- get_adcp_capabilities — Check
account_financialsbefore calling this task - Accounts and agents — Billing models and account references