Upgraded docs version is here ✨

Your documentation experience is getting an upgrade. Check it out now!

Go To Beta

Docs upgrade is here. Check it out!

Go To Beta
API ReferenceIntegrationsKnowledge Base

API Reference Guide

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 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.

API Gateway URL🔗

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

Example🔗

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:
https://api.razorpay.com/v2

Versioning🔗

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.

×