Fetch all subscriptions
fetch_all_subscriptionsLists Razorpay subscriptions with optional plan filter and pagination, using date ranges to review recurring billing data. Read-only API call; amounts remain in minor units.
Instructions
List Razorpay subscriptions with optional plan filter. Read-only Razorpay API call. Amounts remain in minor units (paise for INR).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fetch_all_subscriptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Inclusive end time. Unix seconds, ISO date/datetime, or a preset. Date-only values include the full UTC day. | |
| from | No | Inclusive start time. Unix seconds, ISO date/datetime, or a preset such as last_7_days, last_30_days, last_90_days, this_month. | |
| skip | No | Number of records to skip. | |
| count | No | Number of records to return (1-100). | |
| fields | No | Optional response field projection to reduce token payload size. `id` is always retained when present. | |
| plan_id | No | Filter by plan id. |