payments_refund
Refund all or part of a card charge to the customer by specifying charge ID, amount, and reason; Squidbrake can hold risky refunds for approval and audit.
Instructions
Refund all or part of a card charge back to the customer.
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": {
"charge_id": "<charge_id>",
"amount": "<amount>",
"reason": "<reason>"
},
"name": "payments_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| reason | Yes | ||
| charge_id | Yes | ||
| justification | No | Why you are making this call, in one sentence. The person who approves it reads this; some calls need it. |