Plans and payments
A plan ties together price, limits and access: what it costs, how much traffic and how many devices, and which locations the client gets.
One currency
The exception is Telegram Stars: they live in their own unit and cannot take ordinary money, so the price in stars is a separate field.
Plans
- Code — internal; past purchases are found by it. Best left alone on a plan that is in use.
- Periods and prices — how many days and for how much. There can be several.
- Limits — traffic, devices, and how the counter resets.
- Squads — the set of locations the client receives.
- Visibility — a hidden plan is reachable only by direct link or promo code.
The order of plans in the list is the order in the bot and on the site; rows are dragged.
Payment providers
Keys are entered in the panel, not in files on the server. They are kept in the database and never handed back to the browser: only a “set” marker is shown. An empty field on save means “keep the existing key”.
For a provider with an ordinary REST API there is a generic “Custom provider” module: it posts an amount, gets a payment link back and waits for a webhook with the status. No code to write.
Refunds
Money goes back through the provider's own dashboard — the panel does not do it for you: refunds work differently everywhere, and a quiet “refund automatically” that failed would mark a payment refunded while the money was still there.
The panel records that a refund happened and, if you want, revokes the subscription. A partial refund leaves the payment successful and notes the amount returned; a full one moves it to “refunded”, so the month's revenue does not count that money.
Promo codes and affiliates
Promo codes give a percentage off, a fixed amount or bonus days; they can be limited by number of uses, by date and to first purchase only.
An affiliate earns a percentage of every successful payment by a client they brought, for life. A new rate applies to future payments — commission already earned is not recalculated.
What the servers cost
Each node carries its hosting provider, rental cost and billing day. The Infrastructure billing section adds it up: what the fleet costs and what is left after it.