refund_payment
Refund completed payments by transaction ID. Specify an amount for a partial refund or omit it for a full refund.
Instructions
Issue a refund for a completed payment transaction
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": {
"transactionId": "<transactionId>"
},
"name": "refund_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Partial refund amount (omit for full refund) | |
| reason | No | Reason for refund | |
| transactionId | Yes | The WariMCP transaction ID to refund |