# Cashfree

Cashfree is a full-stack payment solution offering APIs for payments, payouts, and links. It’s widely used in eCommerce for its fast settlement cycles and simple integration.

<figure><img src="https://1325107618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePPO97Ju334NhhCzTEZP%2Fuploads%2Fgit-blob-35d11ac013493278c89aaa1ee65b6caa8f4dddec%2Fdownload%20(14).png?alt=media" alt=""><figcaption></figcaption></figure>

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

**Trigger Prepaid Payment Requests Automatically**\
Detect when a COD order is placed and instantly send a Cashfree payment link via WhatsApp.

**Auto-Update Order Status on Payment**\
Once payment is received, sync the order as prepaid in your backend or Shopify, and stop further nudges.

**Drive Conversions with Time-Limited Drips**\
Use WhatsApp to send reminders, limited-time offers, and social proof to motivate prepaid conversions.

To integrate Cashfree 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 CashFree, you need to do the following setup

1. Share CashFree App id & Secret with us over <support@quickreply.ai>
2. Setup the Webhook in CashFree

## **Add Webhook Endpoint**

To add a new webhook,

1. Go to **Payment Gateway Dashboard > Developers** or click the Developers option from the homepage.
2. Click **Add Webhook Endpoint** to create a new webhook. Enter the endpoint URL <https://app.quickreply.ai/api/cashfree/payment/webhook> and select the webhook version using the drop-down menu. The available API versions are: 2021-09-21, 2022-09-01. Click on **Test** to verify if the webhook endpoint returns a response. Once done, click **Next**.

<figure><img src="https://lh7-us.googleusercontent.com/XsCjqDScOOoOvSzTExyWbTnW8g-cdQ0RiuMOaBrmuRA4ziRLRqZCluxK5G-3dziqr4Yg6RCIvl3EPHGPSpgclOm5lDZCCV5lpmhhGsoU4A0_3mjEcyr5QLHQGrkxfZ0wpjbtANA7aO6IokXrz4lb4g" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/Tm4MC-S1ly8BeEqreB6lyo8Fu1-CdnLfq1DMc746dve42z64xnUXDcZD5wpMeyr6oqr29zzN5iGAw8zbOfO5gSQhoEtOD-YpSbKNX15MuhtOdfbco1Ar7mpJKPL5rt1imG2Lzdw9RxsEKtX1k-uzyw" alt=""><figcaption></figcaption></figure>

3\. Select the events **success payment** and **click Add Webhook.**

<figure><img src="https://lh7-us.googleusercontent.com/oxgnu62YG3KDwZpqo0OY02cMGCfTCiObz5PqUD0EFZmvxK2l9N32mr-TeUhklNTd4bmedzjrmDT-dfdZADAmwN38MSUJV-WnIzJ7hwosTYDOMTietpbjNpUMRLupLdL-G49Q-9PxmR7sMoDq4l_uMQ" alt=""><figcaption></figcaption></figure>

## Generate API KEY

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

<figure><img src="https://lh7-us.googleusercontent.com/dFP9bDj42wyt8yrGKNpR3mwizzBAjkT7GSEpr8xB7H56lQm4FY2Rjmw2swtQaY31Ync0N8j72n5xWgQwg60NKCDghv55IDLHhomQjLi0_mv__J5BZKezdi9mP7MSM1yBNG79zcntNPL8EnnX7r6-bA" alt=""><figcaption></figcaption></figure>

To access API keys,

1. Go to **Payment Gateway Dashboard > and click on Developers> API Keys**. Click **API Keys** under Payment Gateway.
2. In test environment API keys will be auto-generated. In prod-environment you need to click on **Generate API Keys** button and do OTP authentication to generate the keys. However you'll be able to generate prod API keys only once your Payment Gateway is activated.
3. Once generated, the API keys are shown in an embedded format. To view the full set of keys, click the ellipsis icon and select **View API Key**. In prod environment you would be required to do OTP authentication to view the keys. You can download the API keys if required.

<figure><img src="https://lh7-us.googleusercontent.com/0nlHoZpHQW4nXQNJuoGCejqi7ehw82Xj3lKltf9ikzU4vKP8GzQWt_Af0u8tv93Dtr2yXtZ_iN0jZ-i7c7tQ1OqRtE2EZf3osVoHELpAfsoHfwhGlWUy3zWNcdBDY8ZV3QAhdNUvZ3-NH_tJBZq6Og" alt=""><figcaption></figcaption></figure>

Once you have API key and Secret downloaded, Please share the keys with QuickReply.ai Support on <support@quickreply.ai>
