Real-time event notifications for your StateSet integration
Create Webhook Endpoint
Configure Endpoint
Implement Handler
Test Integration
Stateset-Signature
header for verification:
Field | Type | Description |
---|---|---|
id | string | Unique event identifier |
object | string | Always “event” |
api_version | string | API version used for the event |
created | integer | Unix timestamp of event creation |
type | string | Event type (e.g., “order.created”) |
data.object | object | Full resource data |
data.previous_attributes | object | Changed fields (update events only) |
request.id | string | Original request ID |
request.idempotency_key | string | Idempotency key if provided |
metadata | object | Additional context |
order.created
order.updated
order.cancelled
order.fulfilled
return.created
return.approved
return.received
customer.created
customer.updated
inventory.low_stock
inventory.out_of_stock
Attempt | Delay | Total Time |
---|---|---|
1 | Immediate | 0 seconds |
2 | 10 seconds | 10 seconds |
3 | 1 minute | 1.2 minutes |
4 | 5 minutes | 6.2 minutes |
5 | 30 minutes | 36.2 minutes |
6 | 2 hours | 2.6 hours |
7 | 6 hours | 8.6 hours |
8 | 24 hours | 32.6 hours |
2xx
status for successful processing4xx
for permanent failures (won’t retry)5xx
for temporary failures (will retry)How do I handle out-of-order events?
created
timestamp and resource state to handle this:What happens if my endpoint is down?
Can I filter events by metadata?
How do I test webhook signature verification?