Skip to main content
POST
Create Stars Invoice

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to create Telegram Stars invoice for balance top-up.

amount_kopeks
integer
required

Amount in kopeks (min 1 ruble)

Required range: 100 <= x <= 2000000000

Response

Successful Response

Response with Telegram Stars invoice link.

invoice_url
string
required
stars_amount
integer
required
amount_kopeks
integer
required