Webhooks and events
POST/v1/webhook-endpoints/{ep_id}/test
Send test event
curl -X POST "https://api.52-28-238-205.sslip.io/v1/webhook-endpoints/{ep_id}/test" \ -H "Cookie: <console session cookie>"Emits a test.event to this endpoint and returns its event id; the delivery appears in the event log. Requires developer:manage; a disabled endpoint is refused.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/webhook-endpoints/{ep_id}/testBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
ep_idstringrequiredWebhook endpoint id (we_...).
Requires permissiondeveloper:manage
Held by
owner, admin, developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
ep_id*Ep IdWebhook endpoint id (we_...).
Success.
application/json- response
event_id*Event IdEvent id (evt_...).
[key: string]?anyDELDelete 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.
POSTRotate webhook signing secret
Replaces the endpoint's signing secret at once; the old secret stops signing new deliveries. Requires developer:manage. The new secret is shown once.