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

# Send Payment Links via WhatsApp Chatbot Using Cashfree Integration

## Overview

When a customer initiates a payment request, the BizMagnets-powered chatbot leverages Cashfree's API to generate a secure payment link and sends it via WhatsApp, ensuring a seamless and efficient transaction process.&#x20;

This integration automates the payment workflow and enhances the customer experience by providing a safe and hassle-free payment option directly within the chat.

## Setting Up Cashfree Payments Integration

1. To begin, navigate to the Integrations section and click on Cashfree Payments.&#x20;

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

2. Once you select the Cashfree Connector, you'll be prompted to either create a new connection or select an existing one.&#x20;
3. If you're adding a new connection, enter the connection name, client id and client secret and click on **'Create.'**

<figure><img src="/files/9z8PEdtRwmUA9XTFMW8W" alt=""><figcaption></figcaption></figure>

4. The created connection will appear under 'Select Existing Connection.'

## Using the Cashfree Payments to Create a Payment Link

1. Once you click on 'Connect,' you'll be directed to the 'Create Payment Link' action.

* **Link Amount:** Enter the amount for which you want to generate the payment link, or use a variable containing the amount.
* **Link Currency:** Select the payment currency, either INR or USD.
* **Link Purpose:** Enter the purpose of the payment link.
* **Send Email:** If enabled Cashfree will send emails on customer's email.&#x20;
* **Send SMS:** If enabled Cashfree will send SMS on customer's phone.
* **Save response in the variable:** Create or select a variable where you want to store the generated payment link.

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

2. Once you have entered the above information, click on **Save**. The card will be created in the interface. Connect it with the Send Card to share the payment link with your users.&#x20;

Cashfree Payments streamlines the payment process, minimizes manual intervention, and provides a smooth, secure transaction experience directly within WhatsApp.
