Help · Razorpay
Finding your Razorpay keys
You'll need three things from your Razorpay Dashboard to connect Razorpay to Checkout DM: your Key ID, your Key Secret, and a Webhook Secret. This walks through exactly where each one lives.
Your Key Secret and Webhook Secret are sensitive — treat them like a password. Razorpay only shows the Key Secret once, at the moment it's generated, so copy it somewhere safe (or straight into your Checkout DM profile) right away.
Step 1
Key ID & Key Secret
These two values authenticate every payment request Checkout DM sends on your behalf. You'll paste both into your merchant Profile in Checkout DM.
Log in to the Razorpay Dashboard
Go to dashboard.razorpay.com and sign in with your Razorpay business account.
Pick Test Mode or Live Mode
Use the toggle near the top of the dashboard to choose which mode you're generating keys for. Test mode keys are for trying things out with fake payments; Live mode keys are for real customer payments.
Test and Live each have their own separate Key ID, Key Secret, and Webhook Secret — don't mix them up.
Open Account & Settings → API keys
From the left-hand menu, go to Account & Settings, then find API keys under the 'Website and app settings' card.
Generate (or view) your keys
If you haven't generated keys before, click Generate Key. Razorpay immediately shows your Key ID and Key Secret together, with a Download button — download or copy both now, since the Secret won't be shown in full again.
Already have keys but lost the Secret? You'll need to click Regenerate Key, which creates a brand new pair — the old Key ID and Secret stop working immediately, so you'll need to update them anywhere they were in use, including Checkout DM.
Need a closer look at Live keys?
Razorpay documents this same API keys screen — including the Live/Test toggle and where Live keys specifically live — in their own Dashboard guide.
Razorpay's API keys documentationStep 2
Webhook Secret
The webhook is how Razorpay tells Checkout DM the moment a payment succeeds or fails, in real time. The Webhook Secret lets Checkout DM verify that a webhook really came from Razorpay.
Open Settings → Webhooks
Still inside Account & Settings, find Webhooks in the left-hand menu, then click Add New Webhook.
Your Checkout DM webhook URL
Paste this exact URL into the Webhook URL field in Razorpay — it's the same for every merchant, so you don't need to look it up anywhere else in your dashboard.
https://n8ncdm.checkoutdm.com/webhook/checkoutdm-razorpay-webhookPaste in the webhook URL and set a secret
Paste the URL above into the URL field. Then choose a Secret — this is a value you type in yourself, Razorpay doesn't generate it for you.
Use a long, random string for the secret. Whatever you type here is the exact value you'll paste into Checkout DM's Razorpay Webhook Secret field — they have to match exactly, or Checkout DM won't be able to verify incoming webhooks.
Choose which events to subscribe to
Below the URL and secret fields is a checklist of Active Events. This is where you tell Razorpay which payment events should actually trigger a call to your webhook URL.
At minimum, Checkout DM needs payment.captured and payment.failed. It's also worth ticking payment.authorized and order.paid if you see them, since they cover edge cases like delayed bank confirmations.
Save and confirm it's active
Click Save Webhook. You can reopen it any time from your Webhooks list to confirm the URL, check which events are enabled, or change the secret.
What each event actually means
- payment.captured — the payment went through and the money is captured. This is the main event Checkout DM uses to mark an order as paid.
- payment.failed — the payment attempt failed. Checkout DM uses this to let the customer know and, where possible, prompt them to retry.
- payment.authorized — the payment was authorised by the bank but not yet captured. Useful for catching payments that get confirmed a little later than usual, so nothing falls through the cracks.
- order.paid — fires once an order is fully paid, tying the payment back to the order it belongs to.
Razorpay maintains the full, always-up-to-date list of webhook events — including ones for refunds, disputes, and subscriptions — in their own documentation. Worth a look if you want to go beyond what Checkout DM currently listens for.
Razorpay's Webhooks documentationPrefer to watch?
Video walkthrough
If you'd rather watch someone set up a Razorpay webhook end-to-end than follow the steps above, here's a short video covering the same ground.
Where these go
Paste your Key ID, Key Secret, and Webhook Secret into the Razorpay section of your Payment Settings in Checkout DM. Nothing is charged until this is saved and verified.
