Standard Payload Structure
| Field | Type | Description |
|---|---|---|
event | string | The event type identifier (e.g., order.created) |
data | object | The event payload containing relevant data |
HTTP Headers
Each webhook request includes the following headers:| Header | Description |
|---|---|
Content-Type | Always application/json |
webhook-id | Unique identifier for this webhook message |
webhook-timestamp | Unix timestamp when the webhook was sent |
webhook-signature | Signature for verifying authenticity |
Example: Order Created Payload
Data Types
- Monetary values: All monetary values are in the smallest currency unit (e.g., pence for GBP, cents for USD)
- Timestamps: All timestamps are in ISO 8601 format (UTC)
- IDs: String identifiers for orders, alphanumeric codes for collection codes