Show HN: Credit-to-currency conversion controls for wallet-based billing
If you sell credits or tokens, at some point someone asks:
“What is one credit actually worth?”
We shipped explicit Wallet Conversion Rate controls in Flexprice to answer that cleanly.
Each wallet can now define: • conversion_rate — how credits map to currency when spending • topup_conversion_rate — optional rate used only when adding credits
This supports use cases like promotional top-ups, bonus credits, or discounted purchases while keeping invoice calculations consistent.
Wallets store credits.Invoices remain in a single base currency. Conversion defines the relationship between the two.
The goal is simple: make credit systems flexible for product teams and predictable for finance teams. Happy to answer questions about edge cases or implementation details.
2 comments
[ 2.8 ms ] story [ 14.4 ms ] thread