> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iterapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks

Webhooks allow your application to receive real-time HTTP notifications for events like successful payments or refunds. Instead of constantly polling the API for status updates, IteraPay will automatically push these updates directly to your server.

### Adding a New Webhook Endpoint

Follow these steps to set up your webhook:

1. In the **Developers** tab, locate the *Webhooks* block.
2. Click the **+ Add endpoint** button.

<Frame>
  <img src="https://mintcdn.com/red-b9883948/QmvWMdaFew2nV8lR/images/screen-58.png?fit=max&auto=format&n=QmvWMdaFew2nV8lR&q=85&s=db1fe32ccd2924812dddaaa53fc8ceca" alt="Screen 58" width="2500" height="1354" data-path="images/screen-58.png" />
</Frame>

3. The **New endpoint** modal will open on your screen.

<Frame>
  <img src="https://mintcdn.com/red-b9883948/QmvWMdaFew2nV8lR/images/screen-57.png?fit=max&auto=format&n=QmvWMdaFew2nV8lR&q=85&s=9d1cb31f73af83587ac0cff1c16c84e6" alt="Screen 57" width="2852" height="1604" data-path="images/screen-57.png" />
</Frame>

4. In the **Endpoint URL** field, enter the full URL of your server where you want to receive the webhook payloads (for example, `https://your-system.com/api/webhooks`).
   * *Note: Ensure your endpoint is publicly accessible and uses HTTPS to securely receive data.*
5. Click the **Save** button to confirm.

Once saved, IteraPay will begin sending event notifications to your specified address.
