provider Invoices POST /ar/invoices/{invoiceId}/cancel
@utdk/mercury /ar/invoices/{invoiceId}/cancel
Cancel an invoice
Cancel an invoice. This action cannot be undone.
invoiceId path required
string

Try it

Authentication
Configure credentials for Mercury API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

cancelinvoice
POST/ar/invoices/{invoiceId}/cancel
Cancel an invoice. This action cannot be undone.

Parameters

required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import mercury from '@utdk/mercury';

await mercury.cancelinvoice()