refund_transaction
Refund a transaction by providing its ID and the amount in cents (e.g., 250 = $2.50).
Instructions
Refund a transaction. POST /transactions/{transactionId}/refund. AMOUNT IN CENTS: e.g. 250 = $2.50, 5500 = $55.00. Required: transactionId, amount (integer cents).
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>",
"amount": "<amount>"
},
"name": "refund_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactionId | Yes | Transaction ID (required) | |
| amount | Yes | Refund amount in CENTS (e.g. 250 = $2.50, 5500 = $55.00). Integer, required. |