GET /api/admin/accounts/:sub/billing (billing.read + a reason): the account's Voices plan, credit purchases, balance and period usage, the org subscriptions it owns or pays for (no Stripe ids), and, when a restricted Stripe read key is configured, live Stripe subscription status and invoices per org (live, omitted otherwise). Reason: the X-Admin-Reason header, or a fresh marker from an earlier reason for this account in this session (15 minutes), so reloading doesn't re-prompt. One audit entry billing.view per session+account per 15 minutes.Staff cookie session; permission billing.read.Source snapshot: admin/src/app/api/admin/accounts/[sub]/billing/route.ts. This reference describes the current working tree, not proof of deployment. The response service types and validators remain authoritative.
Request
Authorization
API Key
Add parameter in cookie
__Host-hwa_session
Example:
__Host-hwa_session: ********************
or
Path Params
Header Params
Responses
🟢200
application/json
GET /api/admin/accounts/:sub/billing (billing.read + a reason): the account's Voices plan, credit purchases, balance and period usage, the org subscriptions it owns or pays for (no Stripe ids), and, when a restricted Stripe read key is configured, live Stripe subscription status and invoices per org (live, omitted otherwise). Reason: the X-Admin-Reason header, or a fresh marker from an earlier reason for this account in this session (15 minutes), so reloading doesn't re-prompt. One audit entry billing.view per session+account per 15 minutes.