Skip to main content

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:

Generate API keys

  1. Sign in to the RazorPay Dashboard
  2. Open Settings > API Keys
  3. Generate a key for the mode you need — RazorPay keeps Test and Live keys separate
  4. 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.

  1. In the RazorPay Dashboard, open Settings > Webhooks
  2. Click Add New Webhook
  3. Enter the webhook URL shown on the DashX integration page after you install it
  4. Set a secret for the webhook and note it down
  5. Select the events you want delivered and save

Connect to DashX

  1. Log in to your DashX workspace
  2. Navigate to Settings > Integrations
  3. Click [+] to add a new integration and select RazorPay
  4. Choose the environments you want to enable it for
  5. Enter the configuration below and save

Configuration

FieldDescription
Key IDThe public identifier of your RazorPay API key pair.
Key SecretThe secret half of the key pair. Used server-side.
Webhook SecretThe 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.