SET Merchant API · Events & webhooks
Change a webhook endpoint
POST/v1/webhook_endpoints/{id}
Changes the URL, the event filter, or both. Any change to a further endpoint resumes it if SET had paused it; events missed while it was paused are then sent.
Path parameters
idstringrequired- The webhook endpoint's id.
Headers
Idempotency-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Body
urlhttps URL- The new URL.
eventsstring[]- The new filter.
Errors
400 body_invalid400 url_invalid400 events_invalid400 nothing_to_set404 webhook_endpoint_unknown401 api_key_required401 api_key_invalid401 api_key_wrong_mode403 scope_missing429 rate_limited