> For the complete documentation index, see [llms.txt](https://docs.quickreply.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quickreply.ai/product-modules/integrations/available-integrations/cod-to-prepaid/payu.md).

# PayU

PayU is a global payment gateway trusted by thousands of merchants for offering fast, secure, and localized payment options. It supports cards, UPI, netbanking, EMI, and BNPL.

<figure><img src="/files/wiug9doAVnjrHdlWnYxp" alt=""><figcaption></figcaption></figure>

**When you connect PayU with QuickReply you can:**

**Send Personalized Prepaid Links**\
Generate payment links using PayU APIs and deliver them via WhatsApp to convert COD orders.

**Trigger Prepaid Incentive Campaigns**\
Automate WhatsApp messages offering discounts or loyalty points for prepaid switches.

**Recover Lost Revenue from Cancelled CODs**\
Use PayU status data to retarget users who didn’t confirm or complete their COD orders.

To integrate PayU with QuickReply:

* Go to Integrations in your QuickReply dashboard
* Choose the software
* Click ‘Request Connection’
* Our team will take care of the rest

To enable this payment collection via PayU, you need to do the following setup

1. Create and share the following with us at <help@quickreply.ai>
   1. PayU Client ID
   2. Secret Key
   3. Merchant ID
2. Setup the Webhook in PayU

## 1. Generate Client-id & Secret Key

The API Keys section allows you to view and reset the existing API keys.\\

<figure><img src="/files/nPeZGXDaLsrAZ57zetKA" alt=""><figcaption></figcaption></figure>

To get the client ID and secret from the PayU Merchant Dashboard:

1. Navigate to the following URL and log in to Merchant Dashboard.:

<https://onboarding.payu.in/app/account>

2. Select **Payment Gateway** under **Collect Payments** from the menu on the left pane.

The *Payment Gateway Integrations* page is displayed similar to the following screenshot.

<figure><img src="/files/d0tMhxBj9qSWiQqxc4XK" alt=""><figcaption></figcaption></figure>

2. Click **Get Client Details**.

The *Enter Password* pop-up page is displayed to confirm your password for security.

<figure><img src="https://devguide.payu.in/wordpress/index.php/wp-json/getobject?keyname=uploads/2023/01/Enter_Passwod_client_ID.png" alt=""><figcaption></figcaption></figure>

5. Enter your password and click **Proceed**.

The Client ID and Secret is displayed in the pop-up page.\\

<figure><img src="/files/0gPu50JIWYFm6QDCRibE" alt=""><figcaption></figcaption></figure>

## **2. Add Webhook Endpoint**

To add a new webhook:

1. Select **Settings** > **Webhook**.\\

   <figure><img src="/files/hptkFnqlnJCqffgxk2rw" alt=""><figcaption></figcaption></figure>

The Create Webhooks page is displayed with the list of webhooks.

2. Click **Create Webhook** on the top-right corner of the *Create Webhooks* page.

The *Create Webhook* pop-up page is displayed.

<figure><img src="/files/wyrfWDsHS4lcmJwnc6Pk" alt=""><figcaption></figcaption></figure>

Select any of the following types from the Type drop-down list:

* **Payments**
* Select the event type from the **Event** drop-down list.
* **Successful**\\

2. Enter the webhook URL in the **Webhook URL** field. <https://app.quickreply.ai/api/payU/payment/webhook>
3. Click **Create** to finish.

Once Done, Please share the keys & Merchant-id with QuickReply.ai Support on <support@quickreply.ai>\
To get Merchant-id, kindly click on the profile section on the top right hand and you will see merchant-id


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.quickreply.ai/product-modules/integrations/available-integrations/cod-to-prepaid/payu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
