cURL
curl --request DELETE \ --url https://finsync.ar/api/operations/{id} \ --header 'x-api-key: <api-key>'
200
Example
{ "operation_id": 123, "message": "Operation cancelled successfully", "cancelled_transactions": 2 }
Cancels an operation by setting all its transactions to ‘adjusted’ status. Only works if all transactions in the operation are currently ‘pending’.
API Key for authentication
Operation ID to cancel
Operation cancelled successfully
ID of the cancelled operation
Success message
Number of transactions that were cancelled