All documentation

API Integration

Post orders to eConfirme from any platform with a REST call.

API Integration

Our REST API lets you send orders to eConfirme programmatically. This is the route for a custom-built store or any workflow our connectors do not already cover.

POST /api/webhooks/store/api-order
These snippets use placeholders. Sign in and your own API token fills in here automatically.

Your Store API token goes in the Authorization header as a Bearer token. Keep it server-side β€” it can create orders on your account.

curl -X POST https://econfirme.com/api/webhooks/store/api-order \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "ORDER_12345",
    "customer": { "name": "John Doe", "phone": "+1234567890" },
    "items": [{ "productId": "PROD_001", "name": "Premium Gadget", "price": 299.99, "quantity": 1 }],
    "total": 299.99,
    "currency": "USD"
  }'