Integration guide

Quick start

Integrate ZedCheckout in under 10 minutes — API key, first event, first score.

Integration guide

~10 min

From zero to your first churn score in four concrete steps.

  1. 1Step 1
  2. 2Step 2
  3. 3Step 3
  4. 4Step 4
Step 1

Prerequisites

ZedCheckout account

An active account on the product dashboard.

Tenant API key

Integration mode, scoped to your organization.

HTTPS in production

Required for all server-side API calls.

Step 2

Get your API key

From the dashboard: Settings → API Key. The full key is only shown on creation or regeneration.

Open dashboard
Step 3

First request — POST /events

Send an order_completed event to trigger asynchronous scoring.

curl -X POST https://zedchurn.fr/api/v1/events \
  -H "X-API-Key: $ZEDCHECKOUT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "events": [{
      "event_id": "evt_demo_001",
      "customer_id": "client_123",
      "event_type": "order_completed",
      "occurred_at": "2026-05-15T10:30:00Z",
      "value": 149.99
    }]
  }'

Expected response: HTTP 202 with accepted: 1.

Step 4

Check scores

Query the customers list to read computed scores.

curl "https://zedchurn.fr/api/v1/customers?limit=5" \
  -H "X-API-Key: $ZEDCHECKOUT_API_KEY"

See the GET /customers reference for filters and pagination.

You're all set

Your events feed the churn engine. Explore the API reference for webhooks, campaigns, and GDPR exports.

API reference