Marketplaces where the money sits in the middle
A marketplace with two sides, a payment held between them, and an AI studio that bills by the generation. The hard part is never the catalogue — it is deciding, in code, the exact moment money and files change hands.
What was hard
- The order is a state machine, and money is one of the states
- The payment provider is the source of truth, not the phone
- Delivered work has to be worthless until it is paid for
- NestJS 11
- Prisma 7
- PostgreSQL
- Flutter
- React 19
- Socket.IO
- FFmpeg
Walk a deal from the first message to a delivered file, on sample data.

