Generate API Keys

Generate API keys for Test Mode and Live Mode and know how to use them.


After you

for a RazorpayX account, you can generate API keys in both Test mode and Live mode.

The actions taken in the Test mode have no consequences in your live environment. No real money is used in the test mode. Know more about

.

All RazorpayX APIs are authenticated using Basic Auth, which is a combination of [YOUR_KEY_ID] and [YOUR_KEY_SECRET].

Watch Out!

API Keys generated in the Live mode will not work in the Test mode and vice versa.

The steps to generate API keys in the Test mode is the same as the live environment. Read along, or watch this video to see how to generate API Keys in the Test mode.

To generate API keys in test mode:

  1. Log in to your

    .

  2. Navigate to the user icon in the top-right corner of the screen. Then click on `My Profile'.

  3. Navigate to Developer Controls and click on Generate Key.

    Handy Tips

    When generating API keys in Live mode, you must enter the OTP sent to you. This is to authroize the new user generating a new set of keys.
    The same is not applicable for Test Mode.

  4. Click on Submit.

  5. Download the keys when the pop-up appears.

We have a Postman collection to make the integration quicker and easier. Click the Download Postman Collection button below to get started.

Watch Out!

The above collection only contains APIs that work in test mode. This is not a list of all APIs available in RazorpayX. Know more about the

available in RazorpayX.

If you are an existing Razorpay user, use your existing API key to fire RazorpayX APIs. Do not regenerate your API Keys.

You must activate your account to make live payouts. To activate your account, provide the following KYC information from your Dashboard:

  • Contact Info
  • Business Details
  • Your Bank Account Information
  • Business Documents such as ID proof, Business Registration proof and Company PAN.