Stars payment

Send 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

FieldTypeRequiredNotes
TitletextyesInvoice title
DescriptiontextWhat’s being sold
Amount (XTR)numberyesPrice in Stars
payloadtextCustom 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.