Invoices
Void an invoice
Marks the accounting record void. It never touches the payment itself: if the buyer already paid, nothing is refunded. Use it to correct a bookkeeping mistake, not to reverse a charge. Irreversible: there is no "un-void"; an already-voided invoice returns 400 on a repeat call.
post/gateway/invoices/{invoiceId}/void
Request
- Base URL: https://api.agentaos.ai/api/v1
- URL: https://api.agentaos.ai/api/v1/gateway/invoices/{invoiceId}/void
- Auth: API key in header x-api-key
Path parameters
invoiceIdstring uuid required
Invoice UUID.
Response
The invoice was voided.
Changes
No recorded changes to this operation across all 1 revision of this API.