# Thawani Pay

1\. **Open Integrations**

Go to the Integrations page in the Whautomate platform, then scroll down and select the **Thawani Pay** **connect** button to continue.

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

2. **Get Your API Keys**

You’ll need three credentials from Thawani Pay:

* **Public Key**
* **Secret Key**
* **Webhook Secret**

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

3. **Retrieve Public & Secret Keys**

* First, go to <https://uatmerchant.thawani.om/>. You need to log in to your Thawani Pay account.
* Navigate to **Settings > Developers**.
* Click **Create Key** to generate your **Public Key** and **Secret Key**. 👇

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

* Copy these keys and paste them into your Whautomate Thawani Pay integration settings. 👇

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

4\. **Configure Webhook Secret**

* In the Whautomate integration settings, scroll to the **Webhook Settings** section.
* Copy the **Webhook Callback URL** provided. 👇

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

* Go back to your **Thawani Pay Merchant Portal > Settings > Developers**.
* Click **New Webhook** and paste the Webhook URL.
* Click **Save**. 👇

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

* Copy the **Webhook Secret Key** generated by Thawani Pay and paste it into the Whautomate platform. 👇

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

5\. **Save & Complete Integration**

* After entering the Public Key, Secret Key, and Webhook Secret in Whautomate, click **Save**.
* Your Thawani Pay integration is now complete. 🎉

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

6. After successfully connecting your Thawani Pay account, you can create an invoice and Choose **"Request payment via WhatsApp"** option to test your payment. 👇

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

7. Open your **WhatsApp** account and Select the **Make Payment** button to continue.

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

8. Select a payment method and enter your card details to complete the payment. 👇

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


---

# Agent Instructions: 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://help.whautomate.com/product-guides/integrations/thawani-pay.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.
