Create Refund
create_refundIssue a full or partial refund for a Razorpay payment; omit the amount to refund the full payment.
Instructions
Create a full or partial refund for a Razorpay payment. Omit amount for full refund.
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": "create_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| speed | No | Refund speed: normal (5-7 days) or optimum (instant if eligible) | normal |
| amount | No | Amount in paise to refund (omit for full refund) | |
| receipt | No | Your internal receipt reference | |
| payment_id | Yes | Payment ID to refund |