Update a webhook
Update a webhook’s URL, status, secret, or subscribed events.
Any field omitted from the request is left unchanged. Passing ‘events’ replaces the full set of subscribed event types.
Path Parameters
Unique identifier (UUID) of the webhook.
Body
PATCH /v0/webhooks/:webhookId/update Request body
HTTP(S) endpoint that receives event deliveries. Must use http:// or https:// and must not resolve to a loopback, private, or link-local address.
Whether the webhook receives deliveries: - active: Receives deliveries for its subscribed events - inactive: Configured but not currently receiving deliveries
active, inactive Caller-supplied signing secret used to verify the 'x-fngs-signature' header on each delivery. Any string of at least 16 characters — no required prefix or format.
16Event types this webhook is subscribed to. Omit to subscribe to no events.
payment_success, payment_refunded, payment_failed, subscription_created, subscription_interval, subscription_updated, subscription_cancelled