Fetch subscription
fetch_subscriptionRetrieve one Razorpay subscription by ID to inspect status, plan, and billing details; read-only, with amounts returned in minor units.
Instructions
Retrieve one Razorpay subscription 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": {
"subscription_id": "<subscription_id>"
},
"name": "fetch_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes | Subscription id, e.g. sub_... |