Close or cancel a batch
update_batchClose a batch once all payments are in so it can be paid in Wise, or cancel the batch and all payments within it.
Instructions
Close a batch once every payment is in, so it can be paid in Wise (close), or cancel it and every payment in it (cancel). Closing does not pay it. A person approves either.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"batch_id": "<batch_id>",
"action": "<action>"
},
"name": "update_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | close: ready to pay in Wise. cancel: the batch and its payments are cancelled. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| profile | No | The Wise profile id to act for. Defaults to WISE_PROFILE_ID, else the only business profile. See list_profiles. | |
| batch_id | Yes | The batch id. |