Go to Razorpay Dashboard → Settings → API Keys → Generate Key. You get a key_id (rzp_test_... for test, rzp_live_... for live) and a key_secret. Save the secret securely it's shown only once.
Setting Up Razorpay in Node.js Account Creation, SDK Installation, and Configuration
Where do I find Razorpay API keys?
The answer
More FAQs in Setting Up Razorpay in Node.js Account Creation, SDK Installation, and Configuration
Create a Razorpay account, get API keys from the dashboard (key_id and key_secret), install the razorpay npm package, configure the client with new Razorpay({ key_id, key_secret }), add keys to .env, and test by creating a small order.
Amounts are in the smallest currency unit. For INR, it's paise (₹1 = 100 paise). So ₹500.00 is amount: 50000, and ₹99.99 is amount: 9999. For USD, it's cents ($1 = 100 cents).
Card number 4111 1111 1111 1111 (Visa), any future expiry date, any 3-digit CVV. This works in test mode only. In live mode, real cards are required. No real money is charged in test mode.
Still have questions?
Browse all our FAQs or reach out to our support team
Want to upskill yourself?
Your learning library
Small steps. Big possibilities.
Find your next course. Build something great.