Skip to main content

At a glance

  • Availability: Experimental (how to enable).
  • Authentication: Basic auth.
  • Connection: HTTP Basic auth with RAZORPAY_KEY_ID as the username and RAZORPAY_KEY_SECRET as the password.
  • Provider documentation: Authentication reference.

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Sign in to the Razorpay Dashboard: Go to https://dashboard.razorpay.com. Switch to Test Mode to experiment safely - test keys are prefixed rzp_test_.
  2. Generate API keys: Open Account & Settings → API Keys and generate a key pair. The Key Secret is shown only once - store it immediately.
  3. Set environment variables: Add RAZORPAY_KEY_ID and RAZORPAY_KEY_SECRET to your .env.
  4. Verify access: Run List Payments (Test Mode returns test transactions). Switch to Live Mode keys for production data.

Provider notes

  • Authentication is HTTP Basic: base64(KEY_ID:KEY_SECRET) in the Authorization header
  • Timestamps in from/to filters are Unix epoch seconds; amounts are in the smallest currency unit (paise for INR)
Provider API reference.

Tools

Verify the connection

Call a read tool such as razorpay__list_payments with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.