Delete Invoice
delete
https://api.payant.ng/invoices/:reference_code
Delete Invoice

Request

1
curl https://api.payant.ng/invoices/j9CbiTN0oJe4vWhglyS2 \
2
-H "Content-Type: application/json" \
3
-H "Authorization: Bearer SECRET_KEY" \
4
-X DELETE
Copied!

Response

1
{
2
"status": "success",
3
"message": "Invoice deleted successfully."
4
}
Copied!
Last modified 2yr ago