API Reference Guide

Get started with Razorpay APIs and test them on Postman. Generate API Keys in Test and Live Modes.


Razorpay APIs are completely RESTful, and all our responses are returned in JSON.

Integrations

  • Looking to integrate your website, ecommerce store or mobile app with Razorpay Payment Gateway? Find the .
  • Accept payments using other Razorpay products, such as Payment Links, Payment Pages, Subscription Links, Invoices and Smart Collect.
  • For S2S integration, contact the with your requirements.

You can try out our APIs on the Razorpay Postman Public Workspace. Watch this video to see how to use the Razorpay Postman Public Workspace.

Watch this video to know how to get started with Razorpay APIs.

The Razorpay API Gateway URL is https://api.razorpay.com/v1. You need to include this before each API endpoint to make API calls.

Use the URL https://api.razorpay.com/v1/payments to access payment resources.

Partners API Gateway URL

The Partners APIs use this URL: https://api.razorpay.com/v2

All Razorpay APIs are backwards-compatible. If an API or its parameters are deprecated, we add a warning note for the same for a specific period of time.


Was this page helpful?