Get your unpaid invoices

Retrieve a list of your unpaid invoices. This is useful to see which invoices are pending payment or if you need reference numbers for a payment. The endpoint returns a unique ID for tracking actions related to these invoices.

Headers

Accept Example
Content-Type Example

Body

required
application/json
filters object required
skipCache boolean

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/billing/invoices
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/billing/invoices" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "filters": {
      "status": "string",
      "limit": 0,
      "page": 0
    },
    "skipCache": true
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "invoices": [
      "string"
    ],
    "hasMore": true,
    "total": "string",
    "pages": 0,
    "currentPage": 0,
    "success": true
  }
}
Request Body
{
  "filters": {
    "status": "string",
    "limit": 0,
    "page": 0
  },
  "skipCache": true
}