UniversalEscrow
DocumentationAPI reference
Webhooks

Update webhook endpoint

Partially updates a webhook endpoint's URL, subscribed events, enabled flag or label.

PATCH

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

Authorizationstringheaderrequired

Bearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the webhooks:write scope.

How authentication works

Path Parameters

idstringrequired

Body

application/json
urlstring

New destination URL. Re-checked for SSRF safety.

enabledEventsstring[]

Replace the full set of subscribed event types. webhook.test cannot be subscribed to.

enabledboolean

Disable without deleting — deliveries pause but the endpoint and its history are retained.

descriptionstring

Replace the human-readable label.

Response

200 · WebhookEndpoint · application/json
idstringrequired

Public id.

organizationIdstringrequired
urlstringrequired
enabledEventsWebhookEventType[]required
enabledbooleanrequired

The merchant's own on/off switch.

descriptionstring | nullrequired
secretstring

Signing secret. Present ONLY in the creation response; never retrievable again.

consecutiveFailuresnumber

Consecutive failed deliveries. Absent means not reported, never healthy.

lastSuccessAtstring | null
lastFailureAtstring | null
disabledAtstring | null

When the platform disabled the endpoint after repeated failures.

disabledReasonstring | null
createdAtstringrequired

RFC 3339 UTC timestamp.

updatedAtstringrequired

RFC 3339 UTC timestamp.