Enrollment status changed
Platform key only. Sent when a provider's status on an alert enrollment changes, from the API, the provider or the Chargeflow dashboard.
t={unix seconds},v1={hex}. v1 is the HMAC-SHA256 of {t}.{raw body}, in lowercase hex. The key is the whole signing_secret returned once by POST /v3/webhooks/registrations, with its whsec_ prefix. t is when this attempt was sent, so every retry has a new t and a new signature. Verify before trusting the body: recompute over the raw bytes you received, before parsing, compare in constant time, and reject a t older than five minutes. This signs deliveries from us, not x-chargeflow-signature with v2, which signs requests to us.
The same value as webhook_id in the body. On a test delivery, it is the id that POST /v3/webhooks/registrations/{id}/test returned.
application/json
This delivery attempt. Every retry of an event has a new one; a duplicate of the same attempt carries the same one. Also sent as X-Chargeflow-Webhook-Request-ID.
The event. The same on every attempt: deduplicate on it.
When the event was published. UTC.
date-timeThe event type.
true on production. Always false on a test delivery.
The merchant the event is about. A platform uses it to tell its merchants apart. A test delivery carries a sample id, not a real merchant's.
The event payload. Its shape is set by the event type.
Example Requests
/alerts.enrollment.status_changed