> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/c-sdk-v3/function-references/pay/webhooks/updatewebhook.md).

# UpdateWebhook

{% code overflow="wrap" %}

```csharp
public static VyTask<VyWebhookDto> UpdateWebhook(string webhookId, VyUpdateWebhookRequest reqParams)
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| webhookId | string                                                                                            | This is the \`ID\` of the webhook you want to update. |
| --------- | ------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| reqParams | [VyUpdateWebhookRequest](/sdk-reference/c-sdk-v3/object-references/pay/vyupdatewebhookrequest.md) | Request data for the operation                        |

**Returns**

VyTask<[VyWebhookDto](/sdk-reference/c-sdk-v3/object-references/pay/vywebhookdto.md)>
{% endtab %}
{% endtabs %}
