latestSwagger 2.02026-08-109450223.9 KB
94acb422c07d
Reseller
List Reseller Invoices
Shows Invoices associated with the current reseller.
Note: To see the details of a given invoice, you will probably want to also fetch the associated Account Usage Line Items and Organization Usage Line Items.
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
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'
status'open' | 'paid' | 'failed' | 'partial_refund' | 'full_refund' | 'draft' | 'voided' | 'processing'
Filter by status. One of open, paid, failed, partial_refund, full_refund, draft, voided, processing
Response
List Reseller Invoices
Example response
{
"invoices": [
{
"id": 1,
"amount": 303,
"created_at": "2022-03-01T20:56:15Z",
"currency_type": "usd",
"plan": "Huntress Partner 100 Agents",
"quantity": 101,
"receipt": "https://pay.stripe/com/invoice/invst_uuid",
"status": "paid",
"has_usage": true,
"updated_at": "2022-03-01T20:56:15Z"
}
]
}