List invoices
GET
Cursor-paginated: pass the previous response's nextCursor as before. nextCursor is null on the last page. An unknown status is a 400, not a silently ignored filter.
apiToken invoices:readheader
AuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: invoices:read
limit?integerRange
1 <= value <= 100Default
25before?integerCursor from the previous page.
status?stringValue in
"unpaid""paid""cancelled""refunded"One page of invoices.
application/json- response
items*array<>nextCursor*integer|nullcurl -X GET 'https://api.deluxhost.net/v1/invoices' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"Example Response
{ "items": [ { "id": 0, "number": "string", "status": "unpaid", "type": "string", "subtotalCents": 0, "totalCents": 0, "serviceId": 0, "dueAt": "2019-08-24T14:15:22Z", "paidAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "items": [ { "description": "string", "quantity": 0, "unitPriceCents": 0, "totalCents": 0 } ] } ], "nextCursor": 0}