cURL
curl --request POST \ --url https://api.dompetx.com/v1/payments/cancel/{id} \ --header 'X-DOMPAY-API-Key: <api-key>' \ --header 'X-DOMPAY-Signature: <api-key>' \ --header 'X-DOMPAY-Timestamp: <api-key>'
Transaction cancelled successfully