Usage & Billing (v2)
Usage Summary
Aggregated spend and volume for a billing period, across your whole portfolio or one child.
GET
Returns a per-account rollup of billed spend, refunds, and message volume for a period, plus portfolio totals. Called on a parent key, it covers the parent and all its children by default; scope to one child with
childAccountId.
Query Parameters
string
default:"current month"
The billing month as
YYYY-MM.integer
Restrict the summary to one owned child. Omit to include the caller plus all children.
Response Fields
string
The
YYYY-MM period reported.string
When the summary was computed (ISO-8601, UTC).
array
One entry per account in scope.
object
Portfolio totals across all accounts in scope (same fields plus
currency).Examples
Error Codes
Next Steps
Billing records
The individual charges and refunds behind these totals.
Statements
A footed statement for one account and period.