StarsPaymee API and reseller program: how to start, pricing and partnership (2026)
Getting an API and becoming a StarsPaymee reseller: how the Partner API works (USDT balance, Fragment, 402, automatic refunds, sandbox), 6 steps, the income maths, pre-launch tests and a sample message to support.
Yes. StarsPaymee has a Partner Purchase API: press /start in the API bot and a key (sj_…) and a USDT balance are created automatically. Once the balance is topped up, your bot or site places orders with a POST /v1/stars or /v1/premium request: the amount is debited from the balance and the product is delivered through Fragment. If funds are short you get a 402 and nothing is debited; on an error the money returns to the balance. As a reseller you sell at your own price: the open prices are in USDT, individual terms go through @StarsPaymeeSupport.
How the reseller model works
A reseller buys a product at the partner price and sells it to their own customer at their own price. This is not an official Telegram programme: StarsPaymee itself is not an official Telegram partner but an independent service; this is a partnership with StarsPaymee. Keep two things apart: reselling is the sales model, the API is the tool that automates it.
| Area | What it means |
|---|---|
| Reselling | A sales model: you buy at the partner price and sell to your customer at your own |
| API integration | A tool: the order goes from your bot or site to StarsPaymee automatically |
| Your job | Finding customers, taking payment, answering them |
| StarsPaymee’s job | Debiting the balance and delivering the product through Fragment |
- The customer picks the product, the amount and the recipient’s @username in your bot.
- You take the payment in your own system — the Partner API does not collect money from customers.
- Once the payment is confirmed, your system calls the API — the amount is debited from your USDT balance.
- StarsPaymee delivers through Fragment; you check the status with an order request and show it to the customer.
What the Partner API offers
- Key: /start in the API bot issues an sj_… key and a 0 USDT balance automatically; send it in the X-API-Key header on every request.
- Balance in USDT: an admin tops it up — the amount and payment method are agreed with support; the remainder shows in
/v1/balanceand the dashboard. - Orders:
POST /v1/stars(50 to 10,000) orPOST /v1/premium;idempotency_keystops one order from being sent twice. - Money safety: short on funds — a 402 and nothing is debited; a delivery error refunds the amount automatically.
- Status:
GET /v1/orders/{order_id}— the docs have no webhook, so you poll the status. - Checks and tests:
POST /v1/searchchecks the recipient before payment;/test/v1/starsand/test/v1/premiumare a sandbox with no real money.
The core products: Stars by the unit, Premium for 3, 6 and 12 months — through Fragment.
The gift catalogue and sending — /v1/gifts.
In-game currency and Steam wallet top-ups — with a player ID check.
Brands, denominations and stock — codes come back in the order status.
curl -X POST "https://api.starstg.uz/api/purchase/v1/stars" \
-H "X-API-Key: sj_SIZNING_KALITINGIZ" \
-H "Content-Type: application/json" \
-d '{"username":"misol_user","stars":50,"idempotency_key":"order-001"}'Every endpoint, response and error code is in the Swagger docs (linked in the sources). Prices in USDT are in /v1/pricing; the live TON rate and the som equivalent are in /v1/rates.
How to start: 6 steps
- 1. Open the API bot@starspaymee_api_bot → /start: the key and balance are created automatically.
- 2. Study the docs and pricingThe Swagger docs,
/v1/pricing(prices in USDT) and/v1/rates(TON and som equivalents). - 3. Test in the sandbox
/test/v1/starsand/test/v1/premium— check the whole flow without real money. - 4. Top up the balanceAn admin adds USDT credit — agree the amount and method with @StarsPaymeeSupport.
- 5. Connect the purchase flowTake the payment in your own system, then send
/v1/starsor/v1/premium, and show the status from the order request. - 6. Start smallWatch statuses, errors and costs on the first orders, then scale up advertising and volume.
How the income is made
There is no single answer to “what percentage do I keep?” — there is no guaranteed rate for everyone. Do not mix up three things: the API price, the payment cost and your markup:
| Term | What it means | Where to find it |
|---|---|---|
| API price | What the product costs you, in USDT | /v1/pricing and the API page |
| Payment cost | The fee for taking the customer’s payment | Your payment provider’s terms |
| Markup | What you add on top of the API price | The selling price you set |
| Net result | What is left after every cost | Your real sales records |
The formula: net result = selling price − API price (converted to som) − payment fee − other costs. The open prices are in /v1/pricing; ask support whether special terms exist for large volumes.
What affects your income
- Exchange rate: the API price is in USDT while customers pay in som — when the rate moves, so does your margin.
- Taking payments: Click, Payme and other providers’ fees are on you.
- Acquiring customers: ads and channel costs — start with small sales and measure.
- Mistakes: Stars delivered to a wrong username are not refunded — check with
/v1/searchfirst. - Customer support: answering customers is your job — plan time and people for it.
Test before you launch
If search returns 404, show the customer “user not found” — and do not take the payment.
402 — nothing is debited; explain the delay to the customer and top up.
429 or no answer — retrying with the same idempotency_key will not create a second purchase.
503 — try again later; check the state with /v1/health.
What to tell support
- Whether there are terms beyond the open price list, or a volume discount.
- How to top up the balance and whether there is a minimum amount.
- What happens with an undelivered or failed order.
- Whether the products you need are in the catalogue.
Questions? @StarsPaymeeSupport — for the API and reseller partnership.
@StarsPaymee_botIf you have no bot yet
You do not need to put off getting in touch because you have no bot: you can start with an audience and a sales idea. To use the API, though, a developer has to connect your bot or site. Ask support whether a ready solution or a set-up service exists, and its timing and price — do not treat the reseller price and the cost of building a bot as one expense. An overview of the integrations — the Business & API page; what an API is — the Telegram Stars API.
- api.starstg.uz — Partner Purchase API: USDT balance, Fragment, 402, automatic refunds, sign-up
- Partner API — Swagger docs — endpoints, idempotency_key, error codes, sandbox
- @starspaymee_api_bot — API key and balance
- @StarsPaymeeSupport — pricing and partnership terms
Frequently asked questions
Can I get an API from StarsPaymee?
Can I resell Stars or Premium?
What percentage does a reseller get?
Is the API free?
What currency is the balance in?
What happens if the balance runs short?
What happens to the money if delivery fails?
Is there a sandbox?
Does the API take payments from customers?
Where do I write?
Find out the partnership terms
Describe your project briefly — @StarsPaymeeSupport will answer about pricing, balance top-ups and testing.
Open the botRelated articles
Can a Bot Widget Take Stars Payments? Storefront, Invoice and TON Requests
A widget can serve as a storefront, but a separate invoice is the better way to collect Stars. This article covers widget limits, steps for updating prices and how a TON wallet request affects buyer trust.
ReadRich messages and Stars payments: can a bot’s catalog include an invoice?
Yes, a rich message can be your catalog and price table, but take Stars payments with a separate invoice. The docs don’t show how to attach one. Inside: a table of blocks and a 6-step sales flow.
ReadStop Spam Accounts Joining Your Telegram Group: AI Guardian or Stars?
The main way to stop spam at the door is to require join requests and let an AI guardian bot screen them. Stars barriers are an extra filter. Inside: a comparison table, setup steps and test examples.
Read
