Skip to main content
Fork the Razorpay Postman Public Workspace and try the Orders APIs using your Test API Keys. About Orders Set Up Webhooks Webhook Payloads

Endpoints

  • post /v1/orders - Create an Order: Creates an order by providing basic details such as amount and currency.
  • get /v1/orders - Fetch All Orders: Retrieves details of all the orders.
  • get /v1/orders?expand[]=payments - Fetch All Orders (Example 1): Retrieves details of all the orders and expands the payments object.
  • get /v1/orders?expand[]=payments.card - Fetch All Orders (Example 2): Retrieves details of all the orders and expands cards parameter in the payments object.
  • get /v1/orders/:id - Fetch Order With ID: Retrieves details of a particular order.
  • get /v1/orders/:id/payments - Fetch All Payments for an Order: Retrieves all the payments made for an order.
  • patch /v1/orders/:id - Update an Order: Modifies an existing order.
Test External Link