Stars payment
PaidSend a Telegram Stars (XTR) payment invoice.
Sends a Telegram Stars payment invoice (currency XTR). When the user pays, the flow
continues down the paid arrow.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
| Title | text | yes | Invoice title |
| Description | text | — | What’s being sold |
| Amount (XTR) | number | yes | Price in Stars |
| payload | text | — | Custom payload echoed back on payment |
Outcomes
paid— the user completed the payment.
How it works
The payload you set comes back as {{var._payment_payload}} (see
Payment received), so you can tie a payment to an order.
Stars payment title: "Pro plan" amount: 100 payload: "pro"
└─ paid → Send "Welcome to Pro! 🎉"
Part of the paid plan.