> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate API Keys

> After you [set up your RazorpayX account](/x/set-up), you can generate API keys in both Test mode and Live mode.

<Warning>
  **Watch Out!**

  * If you have newly signed up for RazorpayX, you must generate a new set of API keys.
  * If you are an existing Razorpay user, use your existing API key to fire Payout APIs. Do not regenerate your API Keys.
  * API Keys generated in the Live mode will not work in test mode and vice versa.
  * After generating the keys from the Dashboard, **DOWNLOAD KEY DETAILS** and save them securely. The Key secret is not visible on the Dashboard due to security reasons. If you have misplaced the key details, **regenerate** the keys and replace them wherever required.
</Warning>

## Generate API Keys

To generate API keys:

<Steps>
  <Step title="Log in to your [RazorpayX Account](https://x.razorpay.com/).">
    Log in to your [RazorpayX Account](https://x.razorpay.com/).
  </Step>

  <Step title="Navigate to the user icon in the top-right corner of the screen and...">
    Navigate to the user icon in the top-right corner of the screen and click \`My Profile' → **My Accounts & Settings**.
  </Step>

  <Step title="Navigate to **Developer Controls** and click **Generate Key**.">
    Navigate to **Developer Controls** and click **Generate Key**.
  </Step>
</Steps>

<Info>
  **Handy Tips**
</Info>

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. Download the keys when the pop-up appears.

### Test Mode API Keys

Watch this video to see how to generate API keys in the test mode.

### Live Mode API Keys

<Warning>
  **Watch Out!**

  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.
</Warning>

### Postman Collection

We have a Postman collection to make the integration quicker and easier. Click the **Run in Postman** button below to get started.

[](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/folder/12492020-fcd32a4a-0c53-41a7-a879-d771de7e2804)

## Regenerate API Keys

You can regenerate API keys from the Dashboard.

To regenerate keys:

<Steps>
  <Step title="Log in to your [RazorpayX Account](https://x.razorpay.com/).">
    Log in to your [RazorpayX Account](https://x.razorpay.com/).
  </Step>

  <Step title="Navigate to the user icon in the top-right corner of the screen and...">
    Navigate to the user icon in the top-right corner of the screen and click \`My Profile' → **My Accounts & Settings**.
  </Step>

  <Step title="Navigate to **Developer Controls** and click **REGENERATE KEY**.">
    Navigate to **Developer Controls** and click **REGENERATE KEY**.
  </Step>
</Steps>

This allows you to deactivate the old key immediately or within 24 hours.

### Next Steps

* [Allowlist IPs](/x/dashboard/allowlist-ip)

### Related Information

* [About RazorpayX](/x)
* [Payout APIs](/x/apis)
