System Design Atlas

Subscription billing, usage and service entitlements

09 / 10Worked example

Operations and security

What reason and deadline support a later entitlement restriction?

Each measurement point needs a responsible role, response and completion evidence. Billing operations handles business investigation under the role contract; technical recovery is coordinated with platform operations where that role is included in the case.

Starting point Measure tariff calculations, locks and the payment queue separately.

Assumptions for the example case

Original fictional example design: one monthly contract in EUR, positive integer usage units, a fixed tariff version per period, one invoice and one payment order, and separate correction records. Figures and quality targets are illustrative test assumptions. Tax law, multiple currencies, prorated tariff changes and debt collection are outside the scope.

Signal, ownership and resolution

Ingestion operations, payment reconciliation and entitlement explanation

Finalisation delayedSignal
Finalisation delayed → Platform operationscheck
Platform operationsWatermark processed
Payment outcome unknownSignal
Payment outcome unknown → Billing operationscheck
Billing operationsZ-161 evidenced
Entitlement restrictedSignal
Entitlement restricted → Customer servicecheck
Customer serviceReason visible

Platform operations restores finalisation and the inbox; billing operations resolves Z-161; customer service explains the evidenced entitlement reason.

Payment has been definitely rejected. Restrict the entitlement only after the agreed grace period. Customer service can explain the reason and date.

Access and recovery

Object-level authorisation
Subscribers can access only the objects needed for their own task. Every change is checked server-side against the role and specific object. Billing operations has documented investigation permissions.
Evidence rather than assumption
The payment service collects payment for R-161, but its response is lost. Billing operations queries Z-161. This unknown outcome does not restrict the entitlement as a definite rejection would; a late confirmation completes the same payment order.
Operating agreement
Agree retention periods, on-call coverage, recovery time and acceptable data loss before live operation. Test restoration from backup using the open case from step 7. Keep sensitive payloads out of operational logs.

Explain entitlement restrictions

Explain entitlement restrictions

Restrict entitlements only after the agreed grace period.

Payment has been definitely rejected.

Customer service can explain the reason and date.

Alternative considered
Immediately blocking access after a transport error confuses uncertainty with rejection.
Trade-off
The grace period must be explicitly specified.
Reassess
The product team chooses different goodwill terms.

Terms in this step

Explain entitlement restrictions
Customer service can explain the reason and date.

Try it yourself

A definite rejection is evidenced, but the grace period has not ended. Who sees which reason, and what happens when the period ends?

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
Customer service sees the evidenced rejection and agreed deadline. The entitlement remains active throughout the grace period.
Second part of the solution
The explained restriction begins only after the explicitly agreed grace period. Its duration must be decided before live operation.

Apply to your project

Which corresponding assumption in your project would you check first when the product team changes its goodwill terms?

Step 10 examines late usage.