API Reference · Invoices
Void an invoice
Cancels an unpaid invoice.
POST
/v1/invoices/:id/voidTransitions the invoice to VOID. Any pending installments are cancelled. Paid invoices cannot be voided — issue a refund against the payment instead.
Returnsinvoice object
Path parameters
idstringRequiredInvoice id (`inv_…`).
Errors
404
resource_missingNo invoice exists with that id.
409
invoice_not_voidableInvoice has been paid or is already void.