What test cards can I use with Razorpay?
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.
Verify This Answer
Cross-check this information using these trusted sources:
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.
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.
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).
Still have questions?
Browse all our FAQs or reach out to our support team
