Orders

Fetch all orders

Retrieve a paginated list of orders. Maximum 100 records per call.

get/orders

Request

  • Base URL
    https://api.razorpay.com/v1
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization codehttps://mcp.razorpay.com/authorize
      Client credentials
      Token URLhttps://mcp.razorpay.com/token
      Scopesread_only
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

frominteger

Unix timestamp (seconds). Fetch records created on or after this time.

tointeger

Unix timestamp (seconds). Fetch records created on or before this time.

countinteger

Number of records to return per call. Maximum 100. Default 10.

skipinteger

Number of records to skip. Use with count for pagination. Default 0.

authorized0 | 1

1 = orders with authorized payments only. 0 = without.

receiptstring

Filter by receipt value.

expand[]string[]

Expand: payments, payments.card, transfers, virtual_account.

Response

Collection of orders.

entity'collection'
countinteger

Number of items in the current page.

Changes

No recorded changes to this operation across all 1 revision of this API.