Create or update your webhook endpoint
Retailer · Webhook management
Create or update your webhook endpoint
One endpoint per account. The signing secret (whsec_…) is returned
only when the endpoint is first created — store it; later updates
return the config without the secret (rotate to get a new one).
events: null/omitted subscribes to all events. URL must be https
with a public hostname.
PUT
Create or update your webhook endpoint
Authorizations
API key (wg_live_…) created in the dashboard (Account → API Keys).
Shown once at creation; only a hash is stored server-side.
Body
application/json
Response
Endpoint saved. secret present only on first create.
Example:
"whe_Ab12Cd34Ef56"
Available options:
payment.detected, payment.confirmed, order.completed, order.partial, order.failed, refund.initiated, refund.completed, refund.failed Available options:
active, disabled Signing secret (whsec_…) — first create only. Store it now.