Fetch Subscription
fetch_subscriptionRetrieve a Razorpay subscription by its subscription ID to inspect details such as status, plan, and billing information.
Instructions
Fetch a Razorpay subscription by subscription 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": {
"subscription_id": "<subscription_id>"
},
"name": "fetch_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes | Razorpay Subscription ID (e.g. sub_xxxxxx) |