Skip to content

Get your API keys

Generate your API key pair (Key ID and Key Secret) from the Razorpay dashboard. Both direct and subscription gateways share this credential pair.

  • Prerequisites: Active Razorpay merchant account with permission to generate API keys.

Generate the key pair

  1. Sign in to the Razorpay Dashboard at dashboard.razorpay.com.
  2. Open Settings → API Keys.
  3. Generate a new key pair. Razorpay shows the Key ID and a matching Key Secret.

Copy the Key Secret now

Razorpay shows the Key Secret only once, at generation. Copy it immediately — if you lose it, you must regenerate the pair.

Test keys vs live keys

The environment is chosen entirely by the Key ID prefix — there is no separate sandbox switch:

PrefixEnvironmentUse it for
rzp_test_…TestTrying the flow end to end without moving real money
rzp_live_…LiveTaking real payments from customers

Validate your checkout flow with rzp_test_… keys first, then replace them with rzp_live_… keys when deploying to production. See Going live.

Razorpay Dashboard API Keys screenRazorpay Dashboard → Settings → API Keys

Enter them in AcelleMail

  1. Navigate to Admin → Plugins → Razorpay → Settings in AcelleMail.
  2. Enter your Key ID into API Key ID.
  3. Enter your Key Secret into API Key Secret.
  4. Click Save Settings (never expose the Key Secret in client-accessible code).

Documentation for the Relyweb app catalogue.