curl --request POST \
--url http://localhost:8080/cabinet/balance/stars-invoice \
--header 'Content-Type: application/json' \
--data '
{
"amount_kopeks": 1000000050
}
'{
"invoice_url": "<string>",
"stars_amount": 123,
"amount_kopeks": 123
}Создать Telegram Stars invoice для пополнения баланса. Используется в Telegram Mini App для прямой оплаты Stars.
curl --request POST \
--url http://localhost:8080/cabinet/balance/stars-invoice \
--header 'Content-Type: application/json' \
--data '
{
"amount_kopeks": 1000000050
}
'{
"invoice_url": "<string>",
"stars_amount": 123,
"amount_kopeks": 123
}Request to create Telegram Stars invoice for balance top-up.
Amount in kopeks (min 1 ruble)
100 <= x <= 2000000000