Fetch all orders
fetch_all_ordersList Razorpay orders with time-range, receipt, authorization, pagination, and expand filters for read-only revenue lookups and reconciliation.
Instructions
List Razorpay orders with time, pagination, authorization, receipt, and expand filters. 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_orders"
}
}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). | |
| expand | No | Optional Razorpay expand[] flags. | |
| fields | No | Optional response field projection to reduce token payload size. `id` is always retained when present. | |
| receipt | No | Filter by receipt value (max 40 chars). | |
| authorized | No | Filter by payment authorization: true/1 for authorized, false/0 for unauthorized. |