Skip to main content

Store webhooks and fulfillment API

Two tools sit next to the store:

ToolDirectionMenu
WebhooksAtomicPay → your URLEcommerce → Integration
Fulfillment APIYour warehouse → AtomicPayEcommerce → Fulfillment API

Digital-product webhooks stay under Integrations. Create store webhooks in Ecommerce so you only receive store events.

Outbound webhooks​

  1. Open Integration → Add webhook.
  2. Set name and HTTPS Endpoint URL.
  3. Select events. Choose at least one.
  4. Save and copy the signing secret immediately. It is shown once.
  5. Use Send test webhook after the URL is live.

Verify X-Atomic-Signature or the atomitoken header with that secret.

Useful events​

EventWhen
Sale completedStore payment succeeded.
Abandoned cartBuyer left items unpaid.
Card declinedCard failed at store checkout.
PIX payment not madePIX was not completed.
Fulfillment confirmed / processingYou or the API moved the order.
Order shippedFulfillment is dispatched.
Order deliveredMarked delivered.
Fulfillment on hold / failedException path.
Order fulfilledFulfilled 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:

FieldPurpose
orderIdStore order id (for example ord_…).
statusOne 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.