OpenapiBilling
Get the bucket overview matrix.
Returns `{ rows: OverviewRow[], grandTotal: ByCreditType }` — `grandTotal` is a SEPARATE top-level field, not appended to rows.
GET
Returns { rows: OverviewRow[], grandTotal: ByCreditType } — grandTotal
is a SEPARATE top-level field, not appended to rows.
bearer_authheader
AuthorizationBearer <token>Overview matrix
application/json- response
Overview response: rows per bucket + a SEPARATE grandTotal field
(grandTotal is NOT appended as an extra row).
grandTotal*Per-credit-type balance totals surfaced in the overview matrix.
rows*array<>curl -X GET 'https://example.com/api/bill/credit-buckets/overview'Example Response
{
"grandTotal": {
"freePeriodic": 0,
"granted": 0,
"registration": 0,
"subscription": 0,
"topup": 0
},
"rows": [
{
"bucketId": "1980377d-7926-47e0-9e64-a9d0c746404d",
"bucketTotal": 0,
"byCreditType": {
"freePeriodic": 0,
"granted": 0,
"registration": 0,
"subscription": 0,
"topup": 0
},
"enabled": true,
"name": "string"
}
]
}