> For the complete documentation index, see [llms.txt](https://docs.gallabox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gallabox.com/bots/bot-connectors/send-payment-links-via-whatsapp-chatbot-using-phonepe.md).

# Send payment links via WhatsApp chatbot using PhonePe

> **Who can use this Card?**
>
> * Gallabox Users having permission to either build and deploy bots or manage bots.
> * Available on all Paid Plans.

## Overview

Using this connector, you can create a payment link to be sent to the customers via the send card in the chat-flow. Let's see the steps involved in creating a payment link via PhonePe.

## Connect PhonePe Account <a href="#creating-the-connection-for-razorpay" id="creating-the-connection-for-razorpay"></a>

1. Under the connections, click on PhonePe to start with the connection.

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

2. Once you click on **PhonePe Connector,** you will have the **Action** i.e. **Create Payment Link.** Click on the Action and you will be asked to either create a New Connection or Select from an existing connection. If you are adding a new connection, type in the connection name and then click on Create New Connection.

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

3. To "**Add New Connection**", you will have to enter details like Merchant Id, Salt Key, and Salt Index. Once you enter the details, click on "**Create Connection**" to create a new PhonePe connection.

{% hint style="info" %}
To get the **Merchant ID**, kindly reach out to PhonePe Team. **Salt Keys** will be shared along with the Merchant ID details.
{% endhint %}

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

## Using the PhonePe Connector <a href="#using-the-action-create-payment-link" id="using-the-action-create-payment-link"></a>

### **Create Payment Link** <a href="#using-the-action-create-payment-link" id="using-the-action-create-payment-link"></a>

1. The moment you click on **Create Connection**, you will be taken to the Action - **Create Payment Link.** You have to add the variables for Amount and the Payment Link and click on Save

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

2. The PhonePe connector is ready to be used in the bot-flow. You can add the success and failure conditions as shown in the below GIF:

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

With the PhonePe connector, effortlessly generate payment links for customers within the chat-flow. Follow the simple steps to ensure a smooth and efficient payment experience for users. Let's simplify the payment process with PhonePe!
