RazorPay
Accept payments through RazorPay. Once installed, this integration becomes available as a payment gateway for the Billing app.
Prerequisites
Prerequisites
Before setting up the RazorPay integration, ensure you have:
- An active DashX account
- A RazorPay account with KYC completed for live payments
Generate API keys
- Sign in to the RazorPay Dashboard
- Open Settings > API Keys
- Generate a key for the mode you need — RazorPay keeps Test and Live keys separate
- Copy the Key ID and the Key Secret
warning
The Key Secret is shown only once, when the key is generated. Store it securely — if you lose it, you will need to regenerate the key pair.
Create a webhook
RazorPay notifies DashX of payment events through a webhook.
- In the RazorPay Dashboard, open Settings > Webhooks
- Click Add New Webhook
- Enter the webhook URL shown on the DashX integration page after you install it
- Set a secret for the webhook and note it down
- Select the events you want delivered and save
Connect to DashX
- Log in to your DashX workspace
- Navigate to Settings > Integrations
- Click [+] to add a new integration and select RazorPay
- Choose the environments you want to enable it for
- Enter the configuration below and save
Configuration
| Field | Description |
|---|---|
| Key ID | The public identifier of your RazorPay API key pair. |
| Key Secret | The secret half of the key pair. Used server-side. |
| Webhook Secret | The secret you set on the webhook, used to verify incoming events. |
tip
Use test-mode keys in development environments and live keys only in production.