Fetch payment
fetch_paymentRetrieves a single Razorpay payment by ID for read-only reconciliation and lookup; amounts stay in minor units.
Instructions
Retrieve one Razorpay payment by id. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).
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 |
|---|---|---|---|
| expand | No | Optional Razorpay expand[] flags. | |
| payment_id | Yes | Payment id, e.g. pay_... |