• Generates webhook response body from the provided payload, errors, and messages.

    • If payload is not provided - at least one error must be provided.
    • If payload is provided - errors must not be provided.

    Type Parameters

    • TPayload

    Parameters

    Returns WebhookResponse<TPayload>

Generated using TypeDoc