Challenge
The client had a product idea, a data model and a list of open questions: how to secure the API, how to serve video sessions, how to authenticate the real-time chat, how to store images and time zones safely. Every message and every minute of a call had to be charged correctly, and money could not go through Stripe because clients paid in crypto.
What we built
- Internal currency and wallets: clients top up a token balance, and every purchase debits and credits the right wallets through a wallet service. Balances can be recalculated from confirmed transactions at any time.
- Crypto top-ups: invoices are created through a crypto payment gateway, and the backend credits tokens only after the gateway’s payment callback.
- Orders that always balance: every order creates its paired transactions and only goes through when both succeed. One order type sends a paid message, another books a video session, and cancellation rules depend on who cancels and when.
- Paid real-time chat: the backend controls who may write in which channel and charges for each message, so a client can’t send more than they paid for.
- Hourly video calls: a self-hosted OpenVidu media server on AWS, with the backend issuing a session token only for a paid, scheduled order.
- Expert availability: time slots, booked orders and an online status that switches itself off after an hour unless the expert extends it.
- A secured GraphQL API on Strapi with policies on every endpoint, soft deletes, media in S3, email through Mailgun and a production set-up on AWS behind a load balancer.
Process
Ross designed the architecture and led the backend, together with one more developer from our team. We answered the client’s open technical questions first, then built and deployed the backend and the integrations through to the release.
Results
- The platform went to release with paid chat, paid video calls, crypto top-ups and token wallets working end to end.
- Every charge can be traced to an order and its transactions, and wallet balances can be rebuilt from them.

