Fetch Payment
fetch_paymentLook up a Razorpay payment by ID to verify its status, amount, and method. Use it to confirm transactions or troubleshoot payment issues.
Instructions
Fetch details of a specific Razorpay payment by 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>"
},
"name": "fetch_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_id | Yes | Razorpay Payment ID (e.g. pay_xxxxxx) |