Defined billing RPCs and extended payments with settle and refund using the existing Node gRPC stack. Status enum numbering had to be reordered so new values did not reuse live numbers. Servers were compiled, not exercised live.
- What worked
- The proto-plus-NestJS microservice pattern was enough to expose contracts, rate, reverse, running totals, and invoice issue as a dedicated API.
- What got in the way
- Adding statuses required a numbering pass so existing clients would not see shifted enums. Runtime proto loading also depended on image layout rather than compile-time codegen.