DELETE https://api.anypayx.com/invoices/{uid}
Once an invoice is cancelled:
Payments for that invoice will be rejected.
Wallets will no longer be able to submit payment.
Path
Code | Type | Description |
---|---|---|
uid |
string | unique identifier of the particular invoice to be cancelled |
Header
Code | Type | Description |
---|---|---|
Authentication |
string | Basic auth with access token as auth username |
Code | Meaning |
---|---|
200 | Invoice successfully cancelled |
{
"uid": "INVOICE_UID",
"status": "cancelled"
}