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

# Recurring Payments

> You can use Optimizer Recurring Payments to set up and oversee customer payments on your terms. It is a user-friendly self-serve feature on Optimizer that simplifies the process, enabling you to establish recurring payment schedules for your customers effortlessly.

## Supported Payment Gateways and Methods

## Payment Gateways | Payment Methods

PayU | - [Emandate (Live)](/payments/recurring-payments/emandate/integrate)

* [Cards (Live)](/payments/recurring-payments/cards/integrate)
* [UPI Autopay (Live)](/api/payments/recurring-payments/upi/create-authorization-transaction)

***

Razorpay | - [Emandate (Live)](/payments/recurring-payments/emandate/integrate)

* [Cards (Live)](/payments/recurring-payments/cards/integrate)
* [UPI Autopay (Live)](/api/payments/recurring-payments/upi/create-authorization-transaction)

***

HDFC Mindgate | - UPI Autopay (Live)

<Warning>
  **Watch Out!**

  Optimizer rules apply only for the first-time registration payment. All subsequent debits happen on the same terminal used for registration payment. Optimizer Rules will not be applicable for subsequent payments.
</Warning>

## Integrate Emandate (PayU)

### Prerequisites

<Steps>
  <Step title="Step 1">
    Write to your PayU Relationship Manager with the following requests:

    * Enable seamless mode for your account. Mention that you use a technology company to handle sensitive card data.
    * Enable the method ENACH for your account.
    * Configure the webhook URL as `https://api.razorpay.com/v1/callback/payu` to receive an Emandate response.
    * Subscribe to webhooks for all emandate payment events.
    * Enable the required banks.
    * Provide **PayU key** and **Salt key** details.
  </Step>

  <Step title="Step 2">
    You should have an [active Razorpay account](/payments/set-up) with [Optimizer](/payments/optimizer) enabled.
  </Step>

  <Step title="Step 3">
    Get in touch with your Razorpay Relationship Manager to enable **Emandate** as a payment method.
  </Step>
</Steps>

### Integration Steps

Below are the steps to integrate Recurring Payments for PayU using Emandate as a payment method:

### Step1: Add PayU as a Payment Provider

Know how to [add PayU as a payment provider](/payments/optimizer/payu#add-payu-as-a-payment-provider).

<Warning>
  **Watch Out!**

  Ensure you select `Emandate` as a payment method while selecting the required payment methods.
</Warning>

### Step2: Route Emandate Transactions

To route emandate transactions via Optimizer, configure the rule as follows:

1. Log in to your Dashboard.

2. Go to the **PAYMENT PRODUCTS** section and click **Optimizer**.

3. Click **+Add New Rule** and enter the **Rule name** and **Description**.

4. Click **Next** and enter the following rule:
   * In **Select Parameter** field, select **Payment Method**.
   * In **Select Connection** field, select **Equal to**.
   * In **Select Comparing Value** field, select **emandate**.

5. Click **Add Another Condition** and enter the following rule:
   * In **Select Parameter** field, select **Emandate Authentication Type**.
   * In **Select Connection** field, select **One Of**.
   * In **Select Comparing Value** field, select **netbanking** or **debit card** as per your requirement and click **Next**.

<Warning>
  **Watch Out!**

  PayU does not support Aadhaar-based authentication. To use Aadhaar authentication, route transactions to Razorpay.

  6. Enter the value **100** in the **Route** field, select **payu** in the **payment via** drop-down, and click Next.

  7. Click **Publish Rule**.
</Warning>

## Integrate Cards (PayU)

### Prerequisites

<Steps>
  <Step title="Step 1">
    Write to your PayU Relationship Manager with the following requests:

    * Enable seamless mode for your account. Mention that you use a technology company to handle sensitive card data.
    * Enable the method **Card Recurring** for your account.
    * Configure the webhook URL as `https://api.razorpay.com/v1/callback/payu` to receive a card recurring response.
    * Subscribe to webhooks for all card recurring payment events.
    * Provide **PayU key** and **Salt key** details.
  </Step>

  <Step title="Step 2">
    You should have an [active Razorpay account](/payments/set-up) with [Optimizer](/payments/optimizer) enabled.
  </Step>

  <Step title="Step 3">
    Get in touch with your Razorpay Relationship Manager to enable **Card Recurring** as a payment method.
  </Step>
</Steps>

### Integration Steps

Below are the steps to integrate Recurring Payments for PayU using Cards as a payment method:

### Step 1: Add PayU as a Payment Provider

Know how to [add PayU as a payment provider](/payments/optimizer/payu#add-payu-as-a-payment-provider).

<Warning>
  **Watch Out!**

  Ensure you select `Card` as a payment method while selecting the required payment methods.
</Warning>

### Step 2: Route Cards Transactions

To route cards transactions via Optimizer, configure the rule as follows:

1. Log in to your Dashboard.

2. Go to the **PAYMENT PRODUCTS** section and click **Optimizer**.

3. Click **+Add New Rule** and enter the **Rule name** and **Description**.

4. Click **Next** and enter the following rule:
   * In **Select Parameter** field, select **Payment Method**.
   * In **Select Connection** field, select **Equal to**.
   * In **Select Comparing Value** field, select **card**.

5. Click **Add Another Condition** and enter the following rule:
   * In **Select Parameter** field, select **Recurring (card)**.
   * In **Select Connection** field, select **Equal to**.
   * In **Select Comparing Value** field, select **true** and click **Next**.

6. Enter the value **100** in the **Route** field, select **payu** in the **payment via** drop-down, and click Next.

7. Click **Publish Rule**.

<Info>
  **Handy Tips**

  You can follow similar steps for UPI payments by selecting UPI as the payment method.
</Info>
