Skip to content

Latest commit

 

History

History
57 lines (31 loc) · 2.7 KB

File metadata and controls

57 lines (31 loc) · 2.7 KB
title Razorpay API Documentation
heading API Reference Guide
description Get started with Razorpay APIs and test them on Postman. Generate API Keys in Test and Live Modes.

API Reference Guide

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

INFO

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.

Our APIs are present on the Razorpay Postman Public Workspace. Watch the video to know how to fork APIs and save them to your private workspace for testing.

Test Razorpay APIs using Postman. Watch the video to know how to get started.

All Razorpay APIs are authenticated using Basic Authentication. You must generate test API keys on the Dashboard before trying the APIs.

API Gateway URL

For most of the Razorpay APIs, the Gateway URL is https://api.razorpay.com/v1. You need to include this before each API endpoint to make API calls. However, certain APIs are on V2. Hence, the gateway URL may differ for certain APIs.

Example

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

        - Use the URL `https://api.razorpay.com/v2/accounts` to access Route (Linked Account)-related resources.

Related Information