refund
Reverse a settled payment to restore budget. Provide hold ID and amount in cents for full or partial refunds.
Instructions
Refund a settled (already-committed) payment, fully or partially. Reverses the spend and restores budget. For pre-commit cancellations use release instead.
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": {
"hold_id": "<hold_id>",
"amount_cents": "<amount_cents>"
},
"name": "refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hold_id | Yes | Hold ID of the settled payment to refund | |
| amount_cents | Yes | Amount to refund in cents | |
| idempotency_key | No | Stable key that makes retries safe. If omitted one is generated, but a retry without the same key will refund again. |