Home / Servers / Stripe API / post_webhook_endpoints

Create a webhook endpoint

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Create a webhook endpoint A webhook endpoint must have a url and a list of enabled_events . You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the… [POST /v1/webhook_endpoints]

Name on the gateway: stripe_api__post_webhook_endpoints · may change things.

Parameters

NameTypeDescription
api_versionstringEvents sent to this endpoint will be generated with this Stripe Version…
connectbooleanWhether this endpoint should receive events from connected accounts (true), or…
descriptionstringAn optional description of what the webhook is used for.
enabled_events requiredarrayThe list of events to enable for this endpoint. You may specify ['*'] to…
expandarraySpecifies which fields in the response should be expanded.
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
url requiredstringThe URL of the webhook endpoint.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "stripe_api__post_webhook_endpoints",
  "arguments": {
    "enabled_events": [],
    "url": "…"
  }
}

Or connect the Stripe API server directly, which lists 606 tools including this one:

Run in your terminal
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a webhook endpoint tool with api_version set to ….

More from Stripe API