Cancel a specific invoice. Useful if an invoice was created incorrectly or a transaction is no longer needed. Returns an invoice ID to confirm cancellation.
id integer · min: 1 required Example Unique id identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/billing/invoice/{id}/cancel curl -X POST "https://cloud.hostup.se/api/billing/invoice/48084/cancel" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"invoice_id": "string"
}
}