Fetch Refund
fetch_refundRetrieve a specific Razorpay refund using its refund ID and associated payment ID to verify refund details and status.
Instructions
Fetch a specific refund by refund ID and payment ID.
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>",
"refund_id": "<refund_id>"
},
"name": "fetch_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refund_id | Yes | Refund ID (e.g. rfnd_xxxxxx) | |
| payment_id | Yes | Payment ID associated with the refund |