> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment Gateway

> Accept payments on the Razorpay Payments Mobile App using Payment Gateway and generate API keys.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
</div>

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

<Info>
  **Handy Tips**

  Do not have a website or mobile app? You can still accept payments by using other Razorpay products such as [Payment Links](/docs/payments/payment-links) and [Razorpay.me URL](/docs/payments/mobile-app/accept-payments/razorpay-me).
</Info>

## Steps to Generate API Keys

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

1. Log in with your Dashboard credentials.
2. Under the **Accept Payments** section, tap **Payment Gateway**.
3. Tap **Generate API Key**.
   <img src="https://razorpay.com/docs/build/browser/assets/images/payments-mobile-app-api.jpg" alt="Generate API Key" width="300" />
4. The Website/App URL submitted during onboarding appears. Review the URL and tap **Generate API Key**.
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.
   <img src="https://razorpay.com/docs/build/browser/assets/images/payments-mobile-app-download.jpg" alt="API Key details preview" width="300" />
