provider POST /v1/webhook_endpoints/{webhook_endpoint}
@utdk/stripe /v1/webhook_endpoints/{webhook_endpoint}
Update a webhook endpoint
<p>Updates the webhook endpoint. You may edit the <code>url</code>, the list of <code>enabled_events</code>, and the status of your endpoint.</p>
webhook_endpoint path required
string

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postwebhookendpointswebhookendpoint
POST/v1/webhook_endpoints/{webhook_endpoint}
<p>Updates the webhook endpoint. You may edit the <code>url</code>, the list of <code>enabled_events</code>, and the status of your endpoint.</p>

Parameters

required

Input

An optional description of what the webhook is used for.

Disable the webhook endpoint if set to true.

The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection.

Specifies which fields in the response should be expanded.

Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

The URL of the webhook endpoint.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postwebhookendpointswebhookendpoint()