Invoice
Remove order

Cancel Invoice

Method: DELETE
Route: /merchants/:merchant/invoices/:id (opens in a new tab)

Change the invoice status and stop tracking payments for this order.

Path

ParameterTypeDescription
merchantStringrequired Merchant ID in UUIDv4 format
idStringrequired Invoice ID in UUIDv4 format

Response

FieldTypeDescription
invoiceIdBooleanInvoice ID
merchantIdStringMerchant ID
failUrlStringFail return URL, null if not provided
statusStringInvoice Status, example: CANCELLED
⚠️

This API endpoint is private and requires an authorization header X-Api-Key