Re:Ask HN: How to design database schema for usage based bil...
by prognostikos on Friday September 02, 2022 @03:12AM
(#32687586)
FWIW we are evaluating Lago and have had great interactions with the team. They are very customer focused and iterating fast.
Disclaimer: I am one of the cofounders, but looks like this could really fit your needs, especially as you add more complex logics afterwards: prepaid/offered credits, probably discounts, etc.
Also, if it’s the first time you’re building a billing system, you might want to check this thread about billing nightmares. It seems very simple at first but it becomes messy very fast. https://news.ycombinator.com/item?id=31424450
Happy to help more (whether you use Lago or not!)!