Retrieve a webhook endpoint
GET / v1 / webhook_endpoints /:id
Retrieves the webhook endpoint with the given ID.
Parameters
No parameters.
Returns
Returns a webhook endpoint if a valid webhook endpoint ID was provided. Raises an error otherwise.
Response
List all webhook endpoints
GET / v1 / webhook_endpoints
Returns a list of your webhook endpoints.
Parameters
No parameters.
More parameters
- ending _ before string
- limit integer
- starting _ after string
Returns
A dictionary with a data property that contains an array of up to limit webhook endpoints, starting after webhook endpoint starting_after. Each entry in the array is a separate webhook endpoint object. If no more webhook endpoints are available, the resulting array will be empty. This request should never raise an error.
Response
Delete a webhook endpoint
DELETE / v1 / webhook_endpoints /:id
You can also delete webhook endpoints via the webhook endpoint management page of the Stripe dashboard.
Parameters
No parameters.
Returns
An object with the deleted webhook endpoint’s ID. Otherwise, this call raises an error, such as if the webhook endpoint has already been deleted.
Response
{ "id": "we_1Mr5jULkdIwHu7ix1ibLTM0x", "object": "webhook_endpoint", "deleted": true}
