Cancel and delete a tax payment by ID

DELETE {{baseUrl}}/{{version}}/tax-payment/:paymentId

Cancel a scheduled tax payment. You can only cancel tax payments before they start being processed.

RESPONSES

status: OK

{"message":"Tax payment(s) successfully deleted","payment":{"status":"canceled","scheduled":"2021-08-03T11:00:00+00:00","updated":"2021-08-02T17:24:07.776639+00:00","description":"3a4621cd41d2f8fc4ff28b6279288f66d9594d68e1ed356f03ccc0e7cc99076f","tags":[],"line":"85660000000 9 65560064007 3 41190025511 7 00010601813 8","id":"6214983469760512","fee":0,"created":"2021-08-02T17:23:56.615592+00:00","barCode":"85660000000655600640074119002551100010601813","amount":6556,"type":"darf","transactionIds":[]}}