Behind the chat is one Flask service with the same conversion and top-up logic for all three platforms. A customer gets the same rates, limits and messages on Messenger, Telegram or Discord.
The bot
Each order is a small state machine: amount, payout account, payment proof, admin review, done. The state is stored, so an order survives a restart or a customer who disappears for an hour. Proof images go to Firebase Storage, with MongoDB as the fallback, and every balance change is written to an audit log.
Approvals happen in a Telegram admin topic, where I can confirm a transfer from my phone. A React dashboard covers the rest: queues, users, moderation, analytics and the history of each order. Nineteen scheduled jobs handle the work nobody should do by hand, such as reminders, cancelling stale orders, retrying failed notifications and backing up config.
The fraud rules came from real abuse, not from a checklist. The first ones, in April 2025, stopped people from gaming the fee tiers. Later rules added rate limits, account lockouts, a cap on the PayPal addresses one customer can use, and a guard on payout accounts.
The website
lapakbangade.com answers the first question before anyone opens a chat: how much Rupiah will I get? Its calculator reads live rates from the bot's public API and passes the amount to Messenger without putting it in the URL. A status page tracks an order by its code, with no personal data shown. The rest is a blog and guides per bank and e-wallet.
| When | What shipped |
|---|
| Oct 2024 | A one-page site |
| Nov 2024 | Messenger bot, admin dashboard, and the brand launch |
| Dec 2024 | Top-up flow, star ratings, MongoDB |
| Feb 2025 | Friday promo |
| Apr 2025 | First anti-fraud rules |
| Sep 2025 | Discord bot |
| Dec 2025 | Telegram bot, site rebuilt in React |
| Feb 2026 | Bot moves to Railway |
| Jul 2026 | Public API feeds the site's rate calculator |
Fig. 02Two years of the system, from the commit history of the bot and the site