Record a billing event (fact only)
POST/events
Accepts one event and writes it synchronously. Events are fact records only (e.g., outcomes) and do not carry pricing/cost semantics.
Idempotency is server-side via request_hash (per billing account).
Request
Responses
- 200
- 201
- 401
- 403
- 409
- 422
- 429
- 503
Idempotent replay
Created
Unauthorized
Forbidden (realm/account mismatch, billing_account_id not derived from session/principal, or insufficient role)
Conflict (idempotency body mismatch or duplicate adjustment)
Unprocessable Entity (validation, visibility, or binding/meter unresolved)
Rate limited
Response Headers
Retry-After
Seconds to wait before retry.
Provider unavailable / transient failure