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

[<u>RazorPay</u>](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.
</Warning>

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

<Frame caption="Key ID and Key Secret">
  <img src="https://mintcdn.com/upmind/ZsIo0APxdVb_gFS-/images/fb/2a4bf4f7113817f1.png?fit=max&auto=format&n=ZsIo0APxdVb_gFS-&q=85&s=7dc8b275eaff4defbfd35cabd33d7a2d" alt="Key ID and Key Secret" width="1230" height="612" data-path="images/fb/2a4bf4f7113817f1.png" />
</Frame>

## Adding RazorPay in Upmind

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

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

<Frame caption="Select payment provider">
  <img src="https://mintcdn.com/upmind/ZsIo0APxdVb_gFS-/images/fb/279eb2431cfcb4b6.png?fit=max&auto=format&n=ZsIo0APxdVb_gFS-&q=85&s=9e1c1bc216611261ba995654f31ef124" alt="Select payment provider" width="1550" height="1408" data-path="images/fb/279eb2431cfcb4b6.png" />
</Frame>

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

<Frame caption="Add details">
  <img src="https://mintcdn.com/upmind/Dgjmf3QWYVBR40cE/images/fb/5a70285a728e8a2e.png?fit=max&auto=format&n=Dgjmf3QWYVBR40cE&q=85&s=2f047aacbb6e8aec68fbeac1f23bdce6" alt="Add details" width="1552" height="1250" data-path="images/fb/5a70285a728e8a2e.png" />
</Frame>

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

<Frame caption="RazorPay login">
  <img src="https://mintcdn.com/upmind/5gi4DQpw4X76kT6T/images/fb/bef90f8ad10ec4ca.png?fit=max&auto=format&n=5gi4DQpw4X76kT6T&q=85&s=bb6a3e8ab335f9ac1812d58169a3aa38" alt="RazorPay login" width="624" height="520" data-path="images/fb/bef90f8ad10ec4ca.png" />
</Frame>

2. Go to `Account & Settings`.

<Frame caption="Account & settings">
  <img src="https://mintcdn.com/upmind/h8h5zREaX7k8Y-3x/images/fb/15cde00e5482c5b8.png?fit=max&auto=format&n=h8h5zREaX7k8Y-3x&q=85&s=06018553b8ca17ab26c87cc701961957" alt="Account & settings" width="668" height="450" data-path="images/fb/15cde00e5482c5b8.png" />
</Frame>

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

<Frame caption="Website and app settings > Webhooks">
  <img src="https://mintcdn.com/upmind/kXD0Ya8PpcxxNm6Q/images/fb/3a556e20d3ae7a31.png?fit=max&auto=format&n=kXD0Ya8PpcxxNm6Q&q=85&s=daadedb39dc7103242a8a154a267735c" alt="Website and app settings > Webhooks" data-og-width="678" width="678" data-og-height="540" height="540" data-path="images/fb/3a556e20d3ae7a31.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/upmind/kXD0Ya8PpcxxNm6Q/images/fb/3a556e20d3ae7a31.png?w=280&fit=max&auto=format&n=kXD0Ya8PpcxxNm6Q&q=85&s=f28a4691422eb6dbd76bb5d47b15e310 280w, https://mintcdn.com/upmind/kXD0Ya8PpcxxNm6Q/images/fb/3a556e20d3ae7a31.png?w=560&fit=max&auto=format&n=kXD0Ya8PpcxxNm6Q&q=85&s=e1ed388ec8f35171af9097f6fbddc889 560w, https://mintcdn.com/upmind/kXD0Ya8PpcxxNm6Q/images/fb/3a556e20d3ae7a31.png?w=840&fit=max&auto=format&n=kXD0Ya8PpcxxNm6Q&q=85&s=6d998c3f28a7e7935845dfc392dc86fe 840w, https://mintcdn.com/upmind/kXD0Ya8PpcxxNm6Q/images/fb/3a556e20d3ae7a31.png?w=1100&fit=max&auto=format&n=kXD0Ya8PpcxxNm6Q&q=85&s=cf6266ae1dfc042bf926f21c604aed7b 1100w, https://mintcdn.com/upmind/kXD0Ya8PpcxxNm6Q/images/fb/3a556e20d3ae7a31.png?w=1650&fit=max&auto=format&n=kXD0Ya8PpcxxNm6Q&q=85&s=7beb47b1afe8d5f650dd1c0763832f34 1650w, https://mintcdn.com/upmind/kXD0Ya8PpcxxNm6Q/images/fb/3a556e20d3ae7a31.png?w=2500&fit=max&auto=format&n=kXD0Ya8PpcxxNm6Q&q=85&s=19299d453f4b2701f0c31259e43330e4 2500w" />
</Frame>

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

<Frame caption="Add New Webhook">
  <img src="https://mintcdn.com/upmind/bPO2bBzOxYQR4tYr/images/fb/fe4b6f5f39c62946.png?fit=max&auto=format&n=bPO2bBzOxYQR4tYr&q=85&s=a31a02a3390fa61c2d3749111a89fdc2" alt="Add New Webhook" width="874" height="248" data-path="images/fb/fe4b6f5f39c62946.png" />
</Frame>

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

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

<Frame caption="Webhook URL from Upmind">
  <img src="https://mintcdn.com/upmind/VnCXiz5rboywDnvn/images/fb/d6e470af4553022c.png?fit=max&auto=format&n=VnCXiz5rboywDnvn&q=85&s=29bb06b637642a4349b4176cf0191408" alt="Webhook URL from Upmind" width="2840" height="652" data-path="images/fb/d6e470af4553022c.png" />
</Frame>

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.

<Frame caption="Fill in the details">
  <img src="https://mintcdn.com/upmind/bPO2bBzOxYQR4tYr/images/fb/f64d333f8de50208.png?fit=max&auto=format&n=bPO2bBzOxYQR4tYr&q=85&s=539eba18078e0b257add574aa091b900" alt="Fill in the details" width="1180" height="884" data-path="images/fb/f64d333f8de50208.png" />
</Frame>

9. Click **Create Webhook**.

For more information, you can check out this [<u>guide</u>](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

<Info>
  Instant refunds are not supported on EMI transactions, so make sure your refund policies reflect this before going live.
</Info>

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

<Frame caption="Account & Settings > Payment Methods">
  <img src="https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/5830ca00da8932d7.png?fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=9d4df397ce13bd4d3b27ff3c9e4ee586" alt="Account & Settings > Payment Methods" data-og-width="2698" width="2698" data-og-height="1538" height="1538" data-path="images/fb/5830ca00da8932d7.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/5830ca00da8932d7.png?w=280&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=c2964812fa5ad7c03463b585eb2998a9 280w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/5830ca00da8932d7.png?w=560&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=3896a7e4cac0fb090071fa06339f75f3 560w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/5830ca00da8932d7.png?w=840&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=16ff2c6dd4a35c98629c1828fbd2e00b 840w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/5830ca00da8932d7.png?w=1100&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=b9cab53d599b5ba07268dc57ee541676 1100w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/5830ca00da8932d7.png?w=1650&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=333541b84f895c7d081c96b9c2ea3efa 1650w, https://mintcdn.com/upmind/92wYnpdR_k6AjH3x/images/fb/5830ca00da8932d7.png?w=2500&fit=max&auto=format&n=92wYnpdR_k6AjH3x&q=85&s=ba2fe13622042f259ff06e1c26f932d8 2500w" />
</Frame>

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