Skip to content

telegram-stars

Use when implementing Telegram Stars (XTR) payments for digital goods, subscriptions, or tips. Also use when handling pre-checkout queries, processing successful_payment updates, or issuing Star refunds.

ModelSource
inheritpack: telegram
ItemValue
CurrencyTelegram Stars (XTR)
Rate~$0.013 USD per Star (varies)
Min payment1 XTR
Refund window12 months
Provider tokenEmpty string "" (Stars-only)
Docscore.telegram.org/bots/payments
Full Reference

┏━ 🔧 telegram-stars ━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Telegram Stars (XTR) payments reference ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

ItemValue
CurrencyTelegram Stars (XTR)
Rate~$0.013 USD per Star (varies)
Min payment1 XTR
Refund window12 months
Provider tokenEmpty string "" (Stars-only)
Docscore.telegram.org/bots/payments
FileContents
reference/payments.mdStars payment flow — sendInvoice, pre-checkout, successful_payment, refunds
reference/subscriptions.mdStar subscriptions — recurring billing, createInvoiceLink, renewal handling

Usage: Read the reference file matching your current task. Each file has working code examples and inline gotchas.