Request refund
request_refundRequest a refund against a payment. Creates a pending refund for the given amount (defaults to the payment's full amount).
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": {
"payment_id": "<payment_id>"
},
"name": "request_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Refund amount; omit for the full payment amount. | |
| reason | No | ||
| payment_id | Yes |