Webhooks and events
POST/v1/webhook-endpoints/{ep_id}/test

Send test event

View as .md
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 URLhttps://api.52-28-238-205.sslip.io
POST/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_idstringrequired

    Webhook 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.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

ep_id*Ep Id

Webhook endpoint id (we_...).

Response Body

Success.

application/json
  1. response
event_id*Event Id

Event id (evt_...).

[key: string]?any