refund_transaction
Refund a completed transaction using its transaction reference and specifying the refund amount. Optionally include a description for the refund.
Instructions
Refund a completed 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": {
"tran_ref": "<tran_ref>",
"amount": "<amount>"
},
"name": "refund_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Refund amount | |
| tran_ref | Yes | Transaction reference to refund | |
| cart_description | No | Refund description | Refund |