stripe_recreate_webhook
Recreates a site's Stripe webhook by creating a new endpoint, deleting older endpoints for the site URL, and storing the new signing secret on the site; requires confirm:true.
Instructions
Recreate this site's Stripe webhook with the gateway's own routine: a new endpoint is created first, then older endpoints for this site's URL are deleted, and the new signing secret is stored on the site (never returned). Use when stripe_list_webhooks shows no enabled configured endpoint. Needs confirm:true; audit-logged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"confirm": "<confirm>"
},
"name": "stripe_recreate_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| confirm | Yes | Must be true: this changes the live Stripe account |