Cancel Individual Transactions
This method is called to cancel a single transaction within a batch. Transactions are identified by the id returned in the response of the initiate API i.e. "id": "e60125a3-5005-4fcd-a3a4-c17cee142ebe"
HTTP Method : DELETE
API Endpoint : {{baseurl}}/api/v1/transaction/{{id}}?reason={{reason}}&type={{type}}
Sample cURL Request
curl --location --request DELETE 'https://api.ovalfi-app.com//api/v1/transaction/885c6bf5-e29a-4a4f-9592-1db91d5f9cee?reason=there is a reason&type=deposit' \
--header 'Authorization: Bearer eyJidXNpbmVzc0lEIjoiZDA0MzE5ZDctYjNmYi00NzhlLWFkZTUtNzZjYzUxNzZlMWRkIiwidXNlcklEIjoiMmFhMjAwYzItMDMzZS00OTZhLTg1MDMtZDIzZDYwYjBiOTA0Iiwia2V5Ijoib2xhcHJvZzEifQ=='
*Response Parameters
{
"status": 200,
"data": "cancelled deposit transaction successfully!",
"message": "cancelled deposit transaction successfully!",
"error": null
}
Updated about 2 years ago