Store webhooks and fulfillment API
Two tools sit next to the store:
| Tool | Direction | Menu |
|---|---|---|
| Webhooks | AtomicPay → your URL | Ecommerce → Integration |
| Fulfillment API | Your warehouse → AtomicPay | Ecommerce → Fulfillment API |
Digital-product webhooks stay under Integrations. Create store webhooks in Ecommerce so you only receive store events.
Outbound webhooks
- Open Integration → Add webhook.
- Set name and HTTPS Endpoint URL.
- Select events. Choose at least one.
- Save and copy the signing secret immediately. It is shown once.
- Use Send test webhook after the URL is live.
Verify X-Atomic-Signature or the atomitoken header with that secret.
Useful events
| Event | When |
|---|---|
| Sale completed | Store payment succeeded. |
| Abandoned cart | Buyer left items unpaid. |
| Card declined | Card failed at store checkout. |
| PIX payment not made | PIX was not completed. |
| Fulfillment confirmed / processing | You or the API moved the order. |
| Order shipped | Fulfillment is dispatched. |
| Order delivered | Marked delivered. |
| Fulfillment on hold / failed | Exception path. |
| Order fulfilled | Fulfilled without a separate delivered step. |
Deactivate or delete a webhook when the endpoint retires.
Inbound fulfillment API
Open Fulfillment API for the inbound URL and API keys.
POST JSON to the fulfillment updates URL (shown on that page, under the Commerce API host) with a key you create there.
Required fields:
| Field | Purpose |
|---|---|
orderId | Store order id (for example ord_…). |
status | One of the fulfillment statuses. |
Optional: carrier, trackingNumber, trackingUrl, note, idempotencyKey.
Accepted statuses include pending, confirmed, processing, dispatched, on_hold, fulfilled, failed, delivered. Aliases such as shipped or posted map to dispatched.
Do not send payment statuses such as paid or refunded on this endpoint. Those stay on the order in the dashboard.
Do not put keys in client-side storefront code. Rotate a key if it leaks.
Seller-facing order fields are described in Orders and fulfillment. Endpoint payload detail for developers stays in AtomicPay API Docs when published there.
FAQ
Is this the same as Zapier checkout webhooks?
Same idea, different events. Store Integration is for ecommerce orders. Use webhooks for digital checkout and other platform events.
The test webhook fails
The URL must be HTTPS and reachable from the internet. Confirm the path and that your server returns 2xx.