You can use Razorpay APIs in two modes, Test and Live. The API keys are different for each mode. Know about generating API Keys.
API Reference Guide
Razorpay APIs are completely RESTful, and all our responses are returned in JSON.
- Looking to integrate your website, ecommerce store or mobile app with Razorpay Payment Gateway? Find the right integration method.
- Accept payments without a website or app using other Razorpay products, such as Payment Links, Payment Pages, Subscription Links, Invoices and Smart Collect.
- For S2S integration, contact the Support team 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 the following gateway URL:
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.