Skip to content
Commercial System of Record

contracts

Cross-package event, identity, billing, and notification type contracts. The shared TypeScript boundary that lets commerce talk to iam, queue, webhooks.

packages/commerce/contracts · Source ↗ · Docs ↗

contracts.events.ts4
  • eventinvoice.paid{ id, amount, currency }
  • eventuser.created{ id, email }
  • eventsubscription.canceled{ tenantId, reason }
  • eventfeature.gated{ flag, actorId }

TypeScript-validated · zero-runtime contracts