Cancel Batch
This method is called to cancel or delete an entire batch. This means that all transactions within a batch would be cancelled.
HTTP Method : DELETE
API Endpoint : {{baseurl}}/api/v1/batch/{{batchID}}?reason={{reason}}&type={{type}}
Sample cURL Request
curl --location --request DELETE 'https://api.ovalfi-app.com//api/v1/batch/2022-07-26?reason=there is a reason&type=deposit' \
--header 'Authorization: Bearer eyJidXNpbmVzc0lEIjoiZDA0MzE5ZDctYjNmYi00NzhlLWFkZTUtNzZjYzUxNzZlMWRkIiwidXNlcklEIjoiMmFhMjAwYzItMDMzZS00OTZhLTg1MDMtZDIzZDYwYjBiOTA0Iiwia2V5Ijoib2xhcHJvZzEifQ=='
Response Parameters
{
"status": 200,
"data": "cancelled deposit settlement successfully!",
"message": "cancelled deposit settlement successfully!",
"error": null
}
Updated about 2 years ago