Business

Set up automated selling via the Telegram Premium API

With the Telegram Premium API sell 3/6/12‑month and login subscriptions in your bot and site automatically: order → payment → activation in 10 seconds. Reseller price, webhook and 24 Q&A.

Short answer

With the Telegram Premium API you sell Premium subscriptions (3, 6, 12 months or via login) automatically in your bot and website. The customer pays — your system sends an order to the API — and Premium activates on the @username in about 10 seconds with no manual work. With a StarsPaymee Business key you set your own reseller price.

What does the Premium API give you?

Selling Telegram Premium manually means waiting for, checking and delivering every order. The API fully automates it: the chain from receiving the order to activation runs in seconds, with no human involvement. This saves time and reduces errors, especially for resellers and shops.

Premium API capabilities
  • Activation by username — 3, 6, 12‑month packages.
  • Official login flow — 1‑month and 1‑year options.
  • Auto‑delivery — ~10 seconds on average, without a password.
  • Webhook — status arrives at your server after activation.
  • Reseller price — you set your own markup.

How to set up automated selling

  1. 1. Get the Business keyFrom StarsPaymee Business get an API key and access to the Premium catalog.
  2. 2. Show the packagesDisplay 3/6/12‑month and login options with your own price in your bot or site.
  3. 3. Collect paymentTake payment from the customer via Click, Payme or card in so‘m (or via SBP in rubles).
  4. 4. Send the order to the APIVia POST /orders pass the Premium type, duration and @username.
  5. 5. Handle the webhookShow the customer the delivered status that arrives after activation.

Want to sell Premium automatically? Contact Business.

@StarsPaymee_bot

Username vs login flow

FeatureBy usernameVia login
Durations3, 6, 12 months1 month, 1 year
What's needed@usernameofficial sign‑in
Password/SMS not required official flow
Speed ~10 secondsa bit longer
Best for selling at scale most convenientspecial cases

Why it helps resellers

With the API you take Premium at a wholesale price and sell with your own markup. Delivery, status and refunds are handled on the API side, so operational load is minimal. See also: Stars API and the cheapest API service.

Sources

Frequently asked questions

What is the Telegram Premium API?
An API to automatically sell Premium subscriptions (3/6/12 months or login) in your bot and website. It connects via StarsPaymee Business.
How does automated selling work?
After payment your system sends an order to the API, Premium activates on the @username in ~10 seconds, and the status returns via webhook.
Which durations are available?
By username — 3, 6 and 12 months; via login — 1 month and 1 year.
Is a password or SMS needed?
In the username flow — no, just the @username. The login flow needs an official sign‑in.
Can I set my own price?
Yes. You take it at a wholesale price and sell with your own markup as a reseller.
How much does the API cost?
One of the lowest prices on the market; special tariffs exist for volume and reseller levels.
Is there a webhook?
Yes. After Premium activates, the delivered status is sent to your server.
Is there a Sandbox?
Yes. You can fully test the flow in a sandbox with no real money.
What happens when Premium ends?
The account is not blocked; only the perks stop. It can be reactivated via the API.
Can I renew the same username?
Yes. Create a new order and extend the term.
Do I collect payment myself?
Yes, via Click/Payme/card or SBP. Then you deliver via the API.
Is there a refund?
If activation is impossible for a technical reason, the order becomes failed and is refunded per the settlement policy.
Can Premium be gifted?
Yes. Put a friend's username in the recipient field and Premium activates for them.
When is the login flow needed?
In special cases with an official «account sign‑in», e.g. for the 1‑month or 1‑year option.
How do I check status?
Via webhook or a GET /orders/{id} request in real time.
Are prices updated in real time?
Yes. Through GET /products you fetch current Premium prices.
How many orders can I send?
Many, within a reasonable rate limit; the limit is raised for volume.
Which language/framework is needed?
Any, since it is REST — PHP, Python, Node.js, etc.
What about security?
The API key is stored server‑side; each request is authenticated with a token.
Can I show the customer a status/receipt?
Yes. You show the order ID and status in your own interface.
Can I also sell Stars at the same time?
Yes. Through one API you manage Stars, Premium, Gifts and payments.
Can I accept payment in rubles?
Yes. Through the SBP integration you can accept payments from Russia in rubles.
How long does integration take?
With ready endpoints and examples it is usually fast; after the key you start in the Sandbox right away.
How do I start?
Submit a request on the StarsPaymee Business page, get the key and docs, test and switch to production.

Sell Premium automatically

With the StarsPaymee Business API, automate Premium sales in seconds.

Open the bot