Auto‑selling gifts via the Telegram Gifts API
With the Telegram Gifts API sell gifts in a bot or site automatically: catalog, order, anonymous sending, webhook and payment in so‘m/rubles. Full flow and 19 Q&A.
The Telegram Gifts API is an interface for automatically selling Telegram gifts in your bot or website. The customer picks a gift and pays, your system sends the order via the API, and the gift is delivered automatically to the @username. StarsPaymee Business provides the Gifts API together with Stars and Premium under one key.
What is the Gifts API?
Telegram Gifts are digital gifts users send to each other. The Gifts API lets you pick gifts from a catalog, create an order and deliver automatically. This fully automates gift selling for resellers and shops.
- Catalog — available gifts and their price (in stars).
- Order — the gift and recipient @username.
- Anonymous sending and comment options.
- Webhook — status returns on delivery.
- Payment — via Click, Payme, card or SBP.
How is a gift sent automatically?
- 1. Fetch the catalogVia
GET /giftsyou fetch available gifts and prices. - 2. Create an orderVia
POST /ordersyou pass gift_id and the recipient@username. - 3. Collect paymentYou collect payment from the customer in your own channel.
- 4. Delivery and statusThe gift is sent automatically, and «delivered» arrives via webhook.
Want to automate gift selling? Contact Business.
@StarsPaymee_botRelated topics
Sell Stars and Premium alongside gifts: Stars API, Premium API. For payment — Click API and SBP API. General — Business.
- core.telegram.org/api/gifts — Gifts technical docs
- telegram.org/blog/gifts — Gifts announcement
Frequently asked questions
What is the Telegram Gifts API?
How is a gift delivered?
How do I get the catalog?
Can I send anonymously?
Can I add a comment?
Is there a webhook?
How is payment?
Is the price real‑time?
Is there a reseller price?
Is there a Sandbox?
Is it in JSON?
Can I send several gifts at once?
Is there a refund?
Are there collectible gifts?
Can I sell together with Stars and Premium?
What about security?
Is documentation provided?
Is there support?
How do I start?
Automate gift selling
Through StarsPaymee Business, sell gifts automatically — together with Stars and Premium.
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
