About OAuth
Use OAuth to integrate your applications and securely access Razorpay and RazorpayX client resources via token-based authentication.
OAuth or Open Authorisation is an authorisation standard that allows you to access resources hosted by other web apps on behalf of a user.
Razorpay OAuth is a token-based authentication method where you can obtain an access token with the consent of the user, without them having to compromise their API key secret. OAuth lets the user decide who can access what level of resources within their Razorpay account.
As Razorpay Technology Partners, you must use OAuth to securely access and manage the Razorpay accounts of businesses on your platform, without them having to share sensitive credentials. This contributes to better user experience.
Assume you are a marketplace that signs up as Razorpay's Technology Partner - Corpfy.
You onboard a sub-merchant that wants to sell clothes on your platform - Acme.
- You integrate with Razorpay OAuth after signing up.
- You create an application via Razorpay Partner Dashboard, to onboard Acme as a sub-merchant.
- During onboarding, you request Acme to give you their account access.
- On authorising, you can access the payments, refunds, disputes etcetra on Acme's Razorpay account, but the security information however, remains safe with Razorpay.
After Acme authorises you to access their account, a code
is generated. You must use this code to generate access_token
which you can use to trigger APIs on Acme's behalf.

Sign up with Razorpay as a Technology Partner by reaching out to our
. You require this to register your application on the Dashboard.Was this page helpful?
ON THIS PAGE