create_refund
Refund a payment, optionally specifying a partial amount.
Instructions
Create a refund for a payment
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": {
"paymentId": "<paymentId>"
},
"name": "create_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to refund (partial refund if less than total) | |
| paymentId | Yes | Payment ID to refund |