Your backend reports sign-ups and payments to POST https://affzeno.com/api/v1/events.
Headers
* Authorization: Bearer <your API key> (create one in Dashboard → Tracking)
* Idempotency-Key: <unique id> so retries are never counted twice
* X-AffZeno-Timestamp and X-AffZeno-Signature: an HMAC-SHA256 of timestamp.body with your API key
Body (JSON)
* event: lead_created, trial_started, customer_created, subscription_started, subscription_payment, subscription_upgraded, subscription_cancelled or payment_refunded
* event_id, customer_id, occurred_at (ISO 8601), amount (in cents), currency (e.g. USD)
* attribution_id: the az_ref click id, on the first event for a customer
* metadata (optional), e.g. original_event_id for refunds, customer_email_hash for the self-referral check
Later payments from the same customer are credited to the same affiliate automatically.