curl --request POST \
--url http://localhost:8080/cabinet/wheel/spin \
--header 'Content-Type: application/json' \
--data '
{
"payment_type": "telegram_stars"
}
'{
"success": true,
"prize_id": 123,
"prize_type": "<string>",
"prize_value": 0,
"prize_display_name": "",
"emoji": "🎁",
"color": "#3B82F6",
"rotation_degrees": 0,
"message": "",
"promocode": "<string>",
"error": "<string>"
}Крутить колесо удачи.
curl --request POST \
--url http://localhost:8080/cabinet/wheel/spin \
--header 'Content-Type: application/json' \
--data '
{
"payment_type": "telegram_stars"
}
'{
"success": true,
"prize_id": 123,
"prize_type": "<string>",
"prize_value": 0,
"prize_display_name": "",
"emoji": "🎁",
"color": "#3B82F6",
"rotation_degrees": 0,
"message": "",
"promocode": "<string>",
"error": "<string>"
}Запрос на спин.
Способы оплаты спина.
telegram_stars, subscription_days Successful Response