> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Add Razorpay as a Payment Method

> Set up RazorPay to take payments in Upmind.

[RazorPay](https://razorpay.com/) is a leading payment gateway in India, supporting credit/debit cards, net banking, UPI (Unified Payments Interface), wallets, and more. Razorpay is for standard payments, which are non-recurring.

> [!WARNING]
>
> A webhook must be configured between Razorpay and Upmind for payment callbacks to be received and orders to be completed automatically.

## Getting RazorPay API credentials

1. Log in to your **RazorPay** account.

2. Go to **Accounts & Settings** > **Settings** > **API Key** and click **Regenerate Key** to obtain your **Key ID** and **Key Secret**.

![Key ID and Key Secret](https://mintcdn.com/upmind/ZsIo0APxdVb_gFS-/images/fb/2a4bf4f7113817f1.png?fit=max\&auto=format\&n=ZsIo0APxdVb_gFS-\&q=85\&s=7dc8b275eaff4defbfd35cabd33d7a2d)

Key ID and Key Secret

## Adding RazorPay in Upmind

1. Go to **Settings** > **Payment Providers** in your admin area.

2. Click **Add Payment Provider** and select **RazorPay**.

![Select payment provider](https://mintcdn.com/upmind/ZsIo0APxdVb_gFS-/images/fb/279eb2431cfcb4b6.png?fit=max\&auto=format\&n=ZsIo0APxdVb_gFS-\&q=85\&s=9e1c1bc216611261ba995654f31ef124)

Select payment provider

## Configuring details

1. Enter a display name. We suggest **RazorPay**.

2. Select the appropriate **Test Mode** option.

3. Enter your **Key ID** and **Key Secret**.

4. Click **Test Credentials** to verify.

5. (Optional) Add supported currencies.

6. (Optional) Enter payment instructions for your customers.

7. Click **Create**.

![Add details](https://mintcdn.com/upmind/Dgjmf3QWYVBR40cE/images/fb/5a70285a728e8a2e.png?fit=max\&auto=format\&n=Dgjmf3QWYVBR40cE\&q=85\&s=2f047aacbb6e8aec68fbeac1f23bdce6)

Add details

## Editing the payment method

To update, go to **Settings** > **Payment Providers**, click the three dots next to `RazorPay`, and select **Edit**.

## Configure RazorPay webhook

You must configure the RazorPay webhook so Upmind always receives transaction updates.

1. Log in to your **RazorPay** dashboard.

![RazorPay login](https://mintcdn.com/upmind/5gi4DQpw4X76kT6T/images/fb/bef90f8ad10ec4ca.png?fit=max\&auto=format\&n=5gi4DQpw4X76kT6T\&q=85\&s=bb6a3e8ab335f9ac1812d58169a3aa38)

RazorPay login

2. Go to `Account & Settings`.

![Account & settings](https://mintcdn.com/upmind/h8h5zREaX7k8Y-3x/images/fb/15cde00e5482c5b8.png?fit=max\&auto=format\&n=h8h5zREaX7k8Y-3x\&q=85\&s=06018553b8ca17ab26c87cc701961957)

Account & settings

3. Click **Webhooks** under **Website and app settings**.

![Website and app settings > Webhooks](https://mintcdn.com/upmind/kXD0Ya8PpcxxNm6Q/images/fb/3a556e20d3ae7a31.png?fit=max\&auto=format\&n=kXD0Ya8PpcxxNm6Q\&q=85\&s=daadedb39dc7103242a8a154a267735c)

Website and app settings > Webhooks

4. Click **+ Add New Webhook**.

![Add New Webhook](https://mintcdn.com/upmind/bPO2bBzOxYQR4tYr/images/fb/fe4b6f5f39c62946.png?fit=max\&auto=format\&n=bPO2bBzOxYQR4tYr\&q=85\&s=a31a02a3390fa61c2d3749111a89fdc2)

Add New Webhook

5. Enter the public **HTTPS URL** of your endpoint.

The webhook URL needs to be taken from the Upmind provider set up.

![Webhook URL from Upmind](https://mintcdn.com/upmind/VnCXiz5rboywDnvn/images/fb/d6e470af4553022c.png?fit=max\&auto=format\&n=VnCXiz5rboywDnvn\&q=85\&s=29bb06b637642a4349b4176cf0191408)

Webhook URL from Upmind

6. Add a **Secret** for security on the webhook endpoint. (Optional)

7. In the **Alert Email** field, enter the address to receive webhook failure notifications, such as errors or deactivations.

8. Select the desired **Events** from the list.

![Fill in the details](https://mintcdn.com/upmind/bPO2bBzOxYQR4tYr/images/fb/f64d333f8de50208.png?fit=max\&auto=format\&n=bPO2bBzOxYQR4tYr\&q=85\&s=539eba18078e0b257add574aa091b900)

Fill in the details

9. Click **Create Webhook**.

For more information, you can check out this [guide](https://razorpay.com/docs/webhooks/setup-edit-payments/) from RazorPay.

## How to Enable EMI payments on Razorpay

The EMI function is not enabled by default on Razorpay accounts. You need to raise a request through the Razorpay Dashboard for activation. The following EMI types are available:

* Credit Card EMI

* Debit Card EMI

* No Cost EMI

* Low Cost EMI

* Cardless EMI

> [!NOTE]
>
> Instant refunds are not supported on EMI transactions, so make sure your refund policies reflect this before going live.

### Requesting EMI for your account

1. Log in to your **Razorpay Dashboard** in **Live mode** (this setting is only available in Live mode).

2. Go to **Account & Settings** > **Payment Methods**.

3. Click **Payment Methods**, then select **EMI** as the payment method type.

![Account & Settings > Payment Methods](https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/5830ca00da8932d7.png?fit=max\&auto=format\&n=92wYnpdR_k6AjH3x\&q=85\&s=9d4df397ce13bd4d3b27ff3c9e4ee586)

Account & Settings > Payment Methods

4. Find the EMI option you want to enable and click **Request**.

5. Review the activation timeline shown in the confirmation box, then click **Confirm**.

Once approved, you can verify which EMI options are active by returning to **Account & Settings** > **Payment Methods** in your Razorpay Dashboard.

For a full breakdown of supported banks, interest rates, and EMI types, refer to the [Razorpay EMI documentation](https://razorpay.com/docs/payments/payment-methods/emi/).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.