Cancel an invoice
Invoices
Cancel Invoice
Cancels (voids) an unpaid invoice and expires its payment link. Paid invoices cannot be cancelled — issue a refund on the linked payment instead.
POST
Cancel an invoice
Authorizations
Your public API key
Headers
Current Unix timestamp
Your public api key
Digest Auth Signature
Path Parameters
Response
The voided invoice.
Example:
"INV-2026-4"
Available options:
draft, sent, paid, overdue, voided Example:
"sent"
Example:
"USD"
Subtotal in the smallest currency unit (cents).
Example:
20000
Example:
21
Tax amount in cents.
Example:
4200
Total in cents.
Example:
24200
id of the linked payment. Fetch it via GET /payments/{id} to obtain the shareable payment link (shortUrl / hostedUrl).
Example:
"pt_EL1yKOzKdv"