Update webhook endpoint
Partially updates a webhook endpoint's URL, subscribed events, enabled flag or label.
https://testnet.universal-escrow.xyz/v1/webhook-endpoints/{id}
Only fields present in the body are changed. Re-checks a new URL for SSRF safety.
Authorizations
AuthorizationstringheaderrequiredBearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the webhooks:write scope.
Path Parameters
idstringrequiredBody
application/jsonurlstringNew destination URL. Re-checked for SSRF safety.
enabledEventsstring[]Replace the full set of subscribed event types. webhook.test cannot be subscribed to.
enabledbooleanDisable without deleting — deliveries pause but the endpoint and its history are retained.
descriptionstringReplace the human-readable label.
Response
200 · WebhookEndpoint · application/jsonidstringrequiredPublic id.
organizationIdstringrequiredurlstringrequiredenabledEventsWebhookEventType[]requiredenabledbooleanrequiredThe merchant's own on/off switch.
descriptionstring | nullrequiredsecretstringSigning secret. Present ONLY in the creation response; never retrievable again.
consecutiveFailuresnumberConsecutive failed deliveries. Absent means not reported, never healthy.
lastSuccessAtstring | nulllastFailureAtstring | nulldisabledAtstring | nullWhen the platform disabled the endpoint after repeated failures.
disabledReasonstring | nullcreatedAtstringrequiredRFC 3339 UTC timestamp.
updatedAtstringrequiredRFC 3339 UTC timestamp.