Admin
List Admin Invoices
List admin invoices, most recent first (admin only). Defaults to unfinished (draft + open) invoices.
Authorization
bearerAuth AuthorizationBearer <token>
Authentication required for all endpoints. Supports Better Auth user credentials and dedicated coworker bearer API keys.
In: header
Query Parameters
status?string
Status filter: "unfinished" (draft + open, the default), "all", or a specific Stripe invoice status.
Value in
"unfinished" | "all" | "draft" | "open" | "paid" | "uncollectible" | "void"recipientType?string
Value in
"user" | "organization"recipientId?string
Length
1 <= lengthlimit?integer
Range
0 < value <= 100Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/v1/admin/invoices"{
"data": [
{
"invoiceId": "in_123",
"targetType": "organization",
"targetName": "Acme",
"credits": 100,
"ttlDays": null,
"currency": "eur",
"amountDue": 12000,
"status": "open",
"createdAt": 1736294400000,
"dashboardUrl": "https://dashboard.stripe.com/acct_123/invoices/in_123"
}
],
"meta": {
"timestamp": "2025-01-01T00:00:00.000Z",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}
