latestSwagger 2.02026-08-109450223.9 KB
94acb422c07d
Reseller
List Account Usage Line Items
Shows a list of Account Usage Line Items.
This list provides a detailed breakdown of product usage per account from a given invoice.
Note: This endpoint will also return a pagination key on the root level.
Please refer to the pagination section within our docs for more information.
get/v1/reseller/invoices/{id}/account_usage_line_items
Path parameters
idinteger required
Query parameters
limitinteger
Max number of resources returned in a paged collection. Defaults to 10, with a minimum of 1 and maximum 500.
page_tokenstring
Token used to request the next page in paginated results. Defaults to 'null'
Response
List Account Usage Line Items
Example response
{
"account_usage_line_items": [
{
"id": 1,
"period_start": "2026-01-10 01:07:08 UTC",
"period_end": "2026-02-09 01:07:08 UTC",
"account": {
"id": 123,
"name": "Willy Wonka",
"subdomain": "willy_wonka"
},
"product": "edr",
"subscription": {
"start_date": "2025-11-10 22:35:14 UTC",
"end_date": "2025-11-10 22:35:14 UTC",
"minimum": 400
},
"usage": {
"billable": 400,
"non_billable": 0,
"actual": 300
}
}
]
}