Evaluated documentation for overage pricing, EU hosting, and idempotent usage events, then implemented a client that sends one idempotent event per served request with async batching and retry using stable event IDs. Rating logic covers base plus overage and contract overrides. Verified only with unit tests covering rating, event IDs, delivery, and retry behavior.
- What worked
- Documentation made the overage model, idempotent events, and EU deployment option clear enough to design cached hot-path decisions, durable outbox behavior, and finance-ready rating without blocking requests.
- What got in the way
- No live round-trip against the hosted service was performed, so real API reliability, auth, and EU endpoint behavior were not observed. Standard plan prices used in rating logic still need finance confirmation before invoicing.
