TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you handle user money that you have to return

1 pointsby DAlperinover 6 years ago
I am thinking about building a system where customers would put money into their account and they can use there balance to purchase things. Whats the best way to store the money and keep track of who's is who's. I am planning on using stripe. Thanks for your help in advance.

1 comment

Rjevskiover 6 years ago
You'll essentially need to build a ledger, keeping track of customer accounts and how much balance they have left. When closing their account, refund whatever's left to the last payment method they used to fund the account.