Managing ad spend at scale is a mess – a chaotic mix of prepaid platform wallets, shifting credit limits across dozens of ad accounts, and a nightmare of manual reconciliation in spreadsheets. For a media partner like Fundree, who helps advertisers navigate this chaos, taking care of that complexity is everything.
They needed a centralized, API-driven platform to build a FinOps engine for social media advertising. A place where their clients could load a single wallet and allocate funds with precision, and where their own team could manage the entire system.The platform needed to be two things at once. It had to be highly automated for day-to-day efficiency, but also allow for granular, manual overrides for the edge cases.

Architecting the Engine
We started at the core: the transaction system. For anything handling real money, there’s zero room for error. We chose PostgreSQL for the database because of its proven reliability and robustness for financial data. Every monetary value is handled using Dinero.js, a library that eliminates the floating-point rounding errors that can plague financial applications.
The backend is a TypeScript API built on Nest.js, running on Heroku. This gives us a scalable, strongly-typed foundation to build on. The first major task was a deep integration with the Meta API. We’ve built the logic to create new ad accounts, pull their real-time status, and push budget updates programmatically. It’s the central nervous system of the platform.
But this project is a two-front war. There’s the clean, user-facing app for Fundree’s clients, built on Next.js and React. Then there’s the back-office application for Fundree’s own team. The back-office app is the real beast. It has to give the Fundree team total control over the entire system, from user management to every single transaction.
Where We Are Now
The core of the engine is live.
- The complete user onboarding, registration, and login flow is running.
- The wallet and transaction system is fully operational.
- We’ve integrated with Stripe to handle the subscription model for platform access.
Right now, we’re building out the multi-user team management feature, which includes role-based permissions for accessing specific ad accounts. Next up is the full financial history, with automated invoice generation through an integration with Xero.
The Road Ahead
The work isn’t done. We still have a user dashboard, a cashback feature, and email notifications on the roadmap. And the back-office app will continue to get more powerful.
This is the kind of complex, high-stakes FinTech engineering we live for. Fundree are masters of their domain. We’re proud to be the engineering horsepower that brings their vision to life.
Ready to turn your idea into a real, working product? Let’s talk.