curl --request POST \
--url https://api.example.com/miniapp/subscription/purchase/options \
--header 'Content-Type: application/json' \
--data '
{
"initData": "<string>"
}
'{
"currency": "<string>",
"success": true,
"balanceKopeks": 123,
"balanceLabel": "<string>",
"subscriptionId": 123,
"data": {}
}Получение доступных вариантов покупки подписки.
curl --request POST \
--url https://api.example.com/miniapp/subscription/purchase/options \
--header 'Content-Type: application/json' \
--data '
{
"initData": "<string>"
}
'{
"currency": "<string>",
"success": true,
"balanceKopeks": 123,
"balanceLabel": "<string>",
"subscriptionId": 123,
"data": {}
}