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