curl --request POST \
--url http://localhost:8080/miniapp/subscription/renewal/options \
--header 'Content-Type: application/json' \
--data '
{
"initData": "<string>",
"subscriptionId": 123
}
'{
"currency": "<string>",
"success": true,
"subscriptionId": 123,
"balanceKopeks": 123,
"balanceLabel": "<string>",
"promoGroup": {
"id": 123,
"name": "<string>",
"server_discount_percent": 0,
"traffic_discount_percent": 0,
"device_discount_percent": 0,
"period_discounts": {},
"apply_discounts_to_addons": true
},
"promoOffer": {},
"periods": [
{
"id": "<string>",
"days": 123,
"months": 123,
"priceKopeks": 123,
"priceLabel": "<string>",
"originalPriceKopeks": 123,
"originalPriceLabel": "<string>",
"discountPercent": 0,
"pricePerMonthKopeks": 123,
"pricePerMonthLabel": "<string>",
"isRecommended": false,
"description": "<string>",
"badge": "<string>",
"title": "<string>"
}
],
"defaultPeriodId": "<string>",
"missingAmountKopeks": 123,
"statusMessage": "<string>",
"autopay_enabled": false,
"autopay_days_before": 123,
"autopay_days_options": [
123
],
"autopay": {
"enabled": false,
"autopay_enabled": true,
"autopay_enabled_at": "2023-11-07T05:31:56Z",
"days_before": 123,
"autopay_days_before": 123,
"default_days_before": 123,
"autopay_days_options": [
123
],
"days_options": [
123
],
"options": [
123
]
},
"autopay_settings": {
"enabled": false,
"autopay_enabled": true,
"autopay_enabled_at": "2023-11-07T05:31:56Z",
"days_before": 123,
"autopay_days_before": 123,
"default_days_before": 123,
"autopay_days_options": [
123
],
"days_options": [
123
],
"options": [
123
]
},
"isTrial": false,
"salesMode": "classic"
}curl --request POST \
--url http://localhost:8080/miniapp/subscription/renewal/options \
--header 'Content-Type: application/json' \
--data '
{
"initData": "<string>",
"subscriptionId": 123
}
'{
"currency": "<string>",
"success": true,
"subscriptionId": 123,
"balanceKopeks": 123,
"balanceLabel": "<string>",
"promoGroup": {
"id": 123,
"name": "<string>",
"server_discount_percent": 0,
"traffic_discount_percent": 0,
"device_discount_percent": 0,
"period_discounts": {},
"apply_discounts_to_addons": true
},
"promoOffer": {},
"periods": [
{
"id": "<string>",
"days": 123,
"months": 123,
"priceKopeks": 123,
"priceLabel": "<string>",
"originalPriceKopeks": 123,
"originalPriceLabel": "<string>",
"discountPercent": 0,
"pricePerMonthKopeks": 123,
"pricePerMonthLabel": "<string>",
"isRecommended": false,
"description": "<string>",
"badge": "<string>",
"title": "<string>"
}
],
"defaultPeriodId": "<string>",
"missingAmountKopeks": 123,
"statusMessage": "<string>",
"autopay_enabled": false,
"autopay_days_before": 123,
"autopay_days_options": [
123
],
"autopay": {
"enabled": false,
"autopay_enabled": true,
"autopay_enabled_at": "2023-11-07T05:31:56Z",
"days_before": 123,
"autopay_days_before": 123,
"default_days_before": 123,
"autopay_days_options": [
123
],
"days_options": [
123
],
"options": [
123
]
},
"autopay_settings": {
"enabled": false,
"autopay_enabled": true,
"autopay_enabled_at": "2023-11-07T05:31:56Z",
"days_before": 123,
"autopay_days_before": 123,
"default_days_before": 123,
"autopay_days_options": [
123
],
"days_options": [
123
],
"options": [
123
]
},
"isTrial": false,
"salesMode": "classic"
}Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes