1. Generate an API key
In the Lojou dashboard: Settings → API → New API Key. Pick the scopes you need (e.g.orders.read, products.write) and copy the key — it’s only shown once.
2. Test the connection
3. Confirm who you are
401 means the key is wrong or expired. A 403 means the key exists but doesn’t have the user.read scope — see Authentication.
4. List your products
5. Create an order
Every order needsamount, product_pid, and customer:
checkout_url — send that link to your customer to complete payment.
Next steps
- Receive events in real time by setting up a webhook (
POST /v1/webhooks) instead of polling the order. - Building an app for other sellers? See the OAuth guide.
