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

# Onboarding Webhook

> For each onboarding status change, a webhook will be sent for the following statuses:

## Status Flow

```mermaid theme={null}
graph LR
    A[pending] --> B[due_diligence_review]
    B --> C[active]
    B --> D[canceled]
    C --> E[inactive]
    C --> F[closed]
    
    style A fill:#fef3c7,stroke:#f59e0b,stroke-width:2px,color:#000
    style B fill:#dbeafe,stroke:#3b82f6,stroke-width:2px,color:#000
    style C fill:#d1fae5,stroke:#10b981,stroke-width:2px,color:#000
    style D fill:#fee2e2,stroke:#ef4444,stroke-width:2px,color:#000
    style E fill:#f3f4f6,stroke:#6b7280,stroke-width:2px,color:#000
    style F fill:#f3f4f6,stroke:#6b7280,stroke-width:2px,color:#000
```

## Statuses

### `pending`

First status of the process. Indicates that the account opening request has been received and is awaiting review.

### `due_diligence_review`

Compliance is analyzing the Due Diligence (DD) and company data provided during onboarding.

### `active`

Account is active/approved. At this status, the webhook will send the `account_id` (MID - Merchant ID) that identifies the merchant's account.

### `canceled`

Account was canceled during the onboarding process.

### `inactive`

Account is inactive after being previously activated.

### `closed`

Account has been closed.

<Note>
  To receive onboarding status updates via webhook, you need to register them using [Webhook Setup](/api-reference/account/webhook/webhook-setup) endpoint.
</Note>
