Update webhook endpoint
curl -X PATCH "https://api.52-28-238-205.sslip.io/v1/webhook-endpoints/{ep_id}" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com/resource","event_types":["string"],"description":"Example","status":"active"}'Changes the URL (SSRF-checked again), event types, description, or status (enabled or disabled). Requires developer:manage.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
ep_idstringrequiredWebhook endpoint id (we_...).
Body
application/json · required. Fields are listed under Request body below.
owner, admin, developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
ep_id*Ep IdWebhook endpoint id (we_...).
application/json- body
url?|URL of a paid resource. Use it for a merchant that is not in the Catalog; Abazi reads its 402 response.
event_types?array<string>|Event types the endpoint receives, or * for all.
description?|nullstatus?|Current state; the allowed values and moves are in the state machines reference.
Success.
application/json- response
endpoint*[key: string]?anyGETGet webhook endpoint
Returns one endpoint with its health and its most recent deliveries, each with every attempt (status code, latency, body excerpt). Requires developer:manage.
DELDelete webhook endpoint
Deletes the endpoint; no further deliveries are sent to it. Requires developer:manage and a confirmation that matches the endpoint description (or its URL when it has no description), otherwise CONFIRMATION_REQUIRED.