> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/webhooks/llms.txt)
> Source: https://docs.saleor.io/api-reference/webhooks/enums/webhook-payload-generation-enum

# WebhookPayloadGenerationEnum Enum

Determines when the subscription payload of an asynchronous webhook is built for events that defer payload generation.

`DEFERRED`: the payload is built in a background task and reflects the object's state at the time the task runs.

`IMMEDIATE`: the payload is built by whatever triggered the event, a request or a background task, and reflects the object's state at that moment, at the cost of slowing that request or task.

Added in Saleor 3.23

<a id="values"></a>

### Values

<a id="deferred"></a>

#### [`DEFERRED`](#deferred)

<a id="immediate"></a>

#### [`IMMEDIATE`](#immediate)

<a id="member-of"></a>

### Member Of

[`Webhook`](/api-reference/webhooks/objects/webhook.md) object  ● [`WebhookCreateInput`](/api-reference/webhooks/inputs/webhook-create-input.md) input  ● [`WebhookUpdateInput`](/api-reference/webhooks/inputs/webhook-update-input.md) input
