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
Parameter | Type | Description |
---|---|---|
merchant | String | required Merchant ID in UUIDv4 format |
id | String | required Invoice ID in UUIDv4 format |
Response
Field | Type | Description |
---|---|---|
invoiceId | Boolean | Invoice ID |
merchantId | String | Merchant ID |
failUrl | String | Fail return URL, null if not provided |
status | String | Invoice Status, example: CANCELLED |
⚠️
This API endpoint is private and requires an authorization header X-Api-Key