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

# Pix Webhooks in Lerian Console

> Track the Pix events received from BTG and the deliveries sent to client endpoints, read their payloads, and send them again, through the Pix Indirect (BTG) plugin in Lerian Console.

The **Webhooks** page of the **Pix** section tracks the Pix events received from BTG and the event deliveries sent to client endpoints. Use it to read what each event carried and to send again the ones that did not go through.

The **Pix** section appears in the Midaz Module when the **Pix Indirect (BTG)** plugin is on. See [Plugin settings](/en/platform/console/plugin-settings).

The page has two tabs. Each tab needs its own permissions:

| Tab | To see | To retry |
| - | - | - |
| Sent to clients | `webhooks-outbound:get` | `webhooks-outbound:post` |
| Received from BTG | `webhooks-inbound:get` | `webhooks-inbound:post` |

## Accessing the Webhooks page

***

<Steps>
  <Step title="Open Pix">
    From the Midaz Module sidebar, expand **Pix**.
  </Step>

  <Step title="Click Webhooks">
    Select **Webhooks** in the submenu.
  </Step>
</Steps>

## Sent to clients

***

This tab lists the deliveries sent to client endpoints. Select a **Flow type** first: the list shows one flow at a time.

| Column | Description |
| - | - |
| Created at | When the delivery was created. |
| Entity type | The type of the entity that the event is about. |
| Entity ID | The ID of the entity that the event is about. |
| Status | Status of the delivery. |
| Attempts | Attempts made, out of the maximum. |
| Last error | The last error of the delivery. |
| Target URL | The client endpoint. |
| Delivered at | When the delivery reached the endpoint. |
| Actions | **Details**, and **Retry** for a delivery in **Failed**, **Delivered**, or **Dead letter (not delivered)**. |

Search by entity ID or request ID, and set **Created from** and **Created until**. Use the status chips above the list to filter by status.

## Received from BTG

***

This tab lists the events that BTG sent to the plugin. Select an **Event type** first: the list shows one type at a time.

| Column | Description |
| - | - |
| Received at | When the event arrived. |
| Entity type | The type of the entity that the event is about. |
| Request ID | The `clientRequestId` of BTG for the event. |
| Source | Where the event came from. |
| Status | Status of the event. |
| Attempts | Attempts made, out of the maximum. |
| Last error | The last error when the plugin handled the event. |
| Processed at | When the plugin processed the event. |
| Actions | **Details**, and **Retry** for an event in **Failed**. |

Search by request ID, and set **Created from** and **Created until**. Use the status chips above the list to filter by status.

## Details and retry

***

**Details** shows the IDs of the webhook, the handling data, the last error, and the payload. For a delivery in dead letter, it also shows the dead-letter data.

<Steps>
  <Step title="Select Retry">
    In the row menu, select **Retry**.
  </Step>

  <Step title="Confirm">
    The dialog tells you what happens next. Click **Retry**.
  </Step>
</Steps>

## Related pages

***

<Card title="Webhooks" icon="code" horizontal href="/en/interfaces/pix-btg/indirect-pix-webhooks">
  The events of the plugin, the request format, and the retry behavior.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.