Webhooks Overview
Webhooks allow your application to receive real-time notifications about important events occurring in Manastore. Instead of polling the API, webhooks push event data directly to your application’s endpoint.Webhook Events
Order Events
- order.fulfilled: An order has been fulfilled and completed
Registering a Webhook
To register a webhook:- Log in to your Manastore account and navigate to Account Settings → Webhook
- Enter your public HTTPS URL endpoint in the webhook URL field
- Save your settings — Manastore will immediately begin sending events to your endpoint
Webhook Payload Format
All webhook events follow this standard format:id field. If your handler needs to guard against processing the
same delivery twice (for example after a retry), use data.id (the order’s own id) rather
than expecting a separate event identifier.
Example Payloads
Order Fulfilled Event
Security
Webhook payloads are not signed. There’s currently no header you can use to verify a request genuinely came from Manastore, so treat the webhook as a notification to go check the order’s current state via the API rather than as a trusted source of truth on its own, particularly for anything that triggers a financial or fulfillment action on your side.Best Practices
- Return Quickly: Process the webhook and return a 2xx response immediately
- Retry Logic: Manastore retries failed webhooks up to 3 times with exponential backoff
- HTTPS Only: Webhooks are only sent to HTTPS endpoints
- Timeout: Your endpoint must respond within 10 seconds