All pages
Powered by GitBook
1 of 1

Loading...

Delete invoice

Delete invoice

DELETE https://api.notify.cm/v2/invoices/{invoice_id}

Authentication: API keys

Headers

Name
Type
Description

Example

Response

Authorization

string

Your test or live API key

HTTP/1.1 204 No Content
HTTP/1.1 404 Not Found
Content-Type: application/json

{
    "status": 404,
    "title": "Not Found",
    "detail": "No invoice exists with id I_dont_exist."
}
curl -X DELETE https://api.notify.cm/v2/invoices/a0f0660d-6c8d-422b-8114-e363b260521e \
   -H "Authorization: Bearer test_R7HQ9QpXgx8J32rW9X9UyXjgfNk6C7TQ2UD8M5rwf8vVnYxnSETvSuEC6SKFW8Ug" \
HTTP/1.1 204 No Content