Upsert a billing contract by effective_at (Realm + Account scoped; realm-admin write)
POST/contracts
Upsert a billing contract by effective_at (Realm + Account scoped; realm-admin write)
Request
Responses
- 200
- 201
- 401
- 403
- 409
- 422
OK (existing contract updated or replayed)
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)