Refund payment
refund_paymentRefund a captured payment via its transaction reference. Specify an amount to refund partially, or omit to refund the full overpaid amount. Moves real money.
Instructions
Refund a captured payment through its gateway, by transaction reference. Omit amount to refund the full overpaid amount. DESTRUCTIVE: moves real money.
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": {
"transaction_id": "<transaction_id>"
},
"name": "refund_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount in the payment currency (omit = full) | |
| transaction_id | Yes | Transaction reference of the payment |