webhooks scope
(dashboard → Developer Portal → Webhooks, or the API).
Register an endpoint
secret once — store it securely; you’ll use it to verify
signatures. You can register up to 5 endpoints per merchant.
Events
Delivery format
Kori sends aPOST with a JSON body and these headers:
Body
2xx status quickly. Non-2xx responses count as failures.
Verify the signature
Always verifyX-Kori-Signature before trusting a payload. Compute the HMAC over the
raw body (not a re-serialized object) using your webhook secret.
Retries and auto-disable
Failed deliveries increment a failure counter. After repeated consecutive failures, an endpoint is automatically disabled (is_active: false). Fix your endpoint and
re-enable it via PUT /merchant/api/webhooks/{id}.
Test an endpoint
Send a sampletest event to confirm your handler works: