To integrate Razorpay with any platform, you’ll need to generate your API Key ID and API Key Secret from the Razorpay dashboard. Here’s how you can do it step by step:
Step-by-Step: Generate API Keys on Razorpay
1. Log in to Razorpay
Enter your registered email and password to sign in.
2. Go to the API Keys Section
Once logged in, look at the left-hand sidebar.
Click on ⚙️ Settings
Under Settings, select “API Keys”
You can also view Razorpay’s official documentation here:? Razorpay API Keys Guide
3. Generate or Copy Keys
Click on “Generate Key”
Razorpay will display two values:
Key ID – Safe to share
Key Secret – Sensitive (copy immediately, shown only once)
⚠️ Important:
Make sure to copy and securely store the Key Secret. If you lose it, you’ll need to generate a new key pair.
Regenerating Keys
If your Key Secret was lost or compromised:
Go back to the API Keys section
Click “Regenerate Key”
A new Key ID + Key Secret will be created (your old keys will stop working)
That’s it! You now have your Razorpay API credentials ready to be used for integration.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article