Skip to main content
POST
/
cabinet
/
wheel
/
stars-invoice
Create Stars Invoice
curl --request POST \
  --url https://api.example.com/cabinet/wheel/stars-invoice \
  --header 'Authorization: Bearer <token>'
{
  "invoice_url": "<string>",
  "stars_amount": 123
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful Response

Ответ с ссылкой на Stars invoice.

invoice_url
string
required
stars_amount
integer
required