Dispatch client API

Getting started

Integrate order creation, webhooks, embed tokens, and tracking with server-to-server API keys. Use test keys on sandbox; live keys on production.

1. Create a test API key

Sign in to outlet admin → Settings → Developer → Create key (test environment). Copy the secret once.

2. Create an order

POST https://dispatch-api.piviotech.com/api/v1/org/orders
X-Api-Key: dsp_test_…

3. Register webhooks

Subscribe to order events and verify HMAC signatures on incoming payloads.

4. Mint embed tokens

Use POST /api/v1/embed/token for iframe shop/track flows in the browser.

Documentation