Razorpay Docs Logo
Razorpay Docs Logo
/
Docs AI persona

R.A.Y.

Beta

Beta

Pricing

API Reference

Support

Log In

Introduction

API Reference Guide

API Changelog

Understand Razorpay APIs

Authentication

Sandbox Setup

Best Practices

Glossary

Payments

Orders

Orders Entity

Create an Order

Fetch All Orders

Fetch All Orders (With Expanded Payments)

Fetch All Orders (With Expanded Card Payments)

Fetch an Order With ID

Fetch Payments for an Order

Update an Order

Payments

Downtime

Settlements

Instant Settlements

Refunds

Disputes

Documents

Customers

Payment Links

QR Codes

Invoices

Subscriptions

Route

Smart Collect

TPAP Pro

Customer Onboarding

Accounts Management

Payments

Mandates Flow

Bills

About Bills

Bills Entity

Create a Bill

Update a Bill

Delete a Bill

Partners

Account

Product Configuration

Stakeholder

Documents

Webhooks

Payout APIs

Get Started

Account Validation

Fetch Balance

Composite Account Validation

Contacts

Fund Accounts

Payouts

Payouts to Cards

Payout Composite

Payouts Approval

Payout Idempotency

Payout Links

Payout Wallet - Amazon

Transactions

Api

Orders

API Test Keys

Orders APIs

You can create

Orders

and link them to payments. Orders APIs are used to create, update and retrieve details of Orders. Also, you can retrieve details of payments made towards these Orders.


Fork the Razorpay Postman Public Workspace and try the Orders APIs using your

Test API Keys

.

Run in Postman

Related Guides:

About Orders

Set Up Webhooks

Webhook Payloads

Endpoints

07

Create an Order

POST

Creates an order by providing basic details such as amount and currency.

Fetch All Orders

GET

Retrieves details of all the orders.

Fetch All Orders (Example 1)

GET

Retrieves details of all the orders and expands the payments object.

Fetch All Orders (Example 2)

GET

Retrieves details of all the orders and expands cards parameter in the payments object.

Fetch Order With ID

GET

Retrieves details of a particular order.

Fetch All Payments for an Order

GET

Retrieves all the payments made for an order.

Update an Order

PATCH

Modifies an existing order.