Combine multiple unpaid invoices into a single payment. This simplifies the payment process. The API returns a new invoice ID to complete the payment.
Accept Example Content-Type Example primaryInvoiceId string required invoiceIds array required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/billing/invoices/bulk-pay curl -X POST "https://cloud.hostup.se/api/billing/invoices/bulk-pay" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"primaryInvoiceId": "string",
"invoiceIds": [
"string"
]
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"invoiceId": "string",
"mergedInvoices": [
"string"
],
"message": "string"
}
} {
"primaryInvoiceId": "string",
"invoiceIds": [
"string"
]
}