# Invoice Web Hook

{% hint style="info" %}
For foundational information on webhooks, including key concepts and verification methods, please refer to the [Webhook Basics](https://docs.inqud.com/developer/web-hooks) page.
{% endhint %}

Invoice Web Hooks enable merchant systems to receive timely notifications regarding status changes of invoices.

Learn more about invoices:

{% content-ref url="../../explore/invoice" %}
[invoice](https://docs.inqud.com/crypto-recurring/explore/invoice)
{% endcontent-ref %}

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* Your business account with Inqud is set up.
* The Crypto Recurring Project has been established and configured within the Inqud platform.

### Setting up Web Hook <a href="#setting-up-web-hook" id="setting-up-web-hook"></a>

* Open the app and sign in.
* From the left menu bar, choose "Recurring".
* Select the desired project.
* Locate the "Invoice webhook" option and click on "Edit".
* Enter the required details:
  * Webhook link: Provide the URL of your webserver that will handle the webhooks.
  * Webhook secret: Enter a secret key for signature calculation (optional).
* Click on "Save" to finalize your settings.

### Notification

The Invoice Web Hook activates with every transition in invoice status. It requires your web server to respond with a 200 status code. If a different status code is returned, the Web Hook will attempt retries multiple times, using an exponential back-off strategy.

For detailed request specifications, please refer to the following page:

[Invoice Webhook Specification](https://apireference.inqud.com/#tag/crypto-recurring-webhooks/operation/user_crypto-recurring_create-webhook) (see **Callbacks** sections)


---

# 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://docs.inqud.com/crypto-recurring/integration/web-hooks/invoice-web-hook.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.
