> ## 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.

# Payment Gateway

> A payment gateway creates a secure pathway between a customer and the business to facilitate payments securely. It involves the authentication of both parties from the banks involved.

## When to Use a Payment Gateway

You should consider integrating with a payment gateway if:

* You have a website
* You have a mobile app

## Steps to Generate API Keys

Follow these steps to generate API keys after creating an account.

<Steps>
  <Step title="Step 1">
    Log in with your Dashboard credentials.
  </Step>

  <Step title="Step 2">
    Under the **Accept Payments** section, tap **Payment Gateway**.
  </Step>

  <Step title="Step 3">
    Tap **Generate API Key**.
  </Step>

  <Step title="Step 4">
    The Website/App URL submitted during onboarding appears. Review the URL and tap **Generate API Key**.
  </Step>

  <Step title="Step 5">
    **Key ID** and **Key Secret** appear on the screen. Tap **Download Key Details** to save the ID and Secret on your device. Tap **Share** to send API Key details only to trusted sources.
  </Step>
</Steps>
