curl --request POST \
--url http://localhost:8080/miniapp/subscription/settings \
--header 'Content-Type: application/json' \
--data '
{
"initData": "<string>",
"subscription_id": 123
}
'{
"settings": {
"subscription_id": 123,
"current": {
"servers": [
{
"uuid": "<string>",
"name": "<string>"
}
],
"traffic_limit_gb": 123,
"traffic_limit_label": "<string>",
"device_limit": 0
},
"servers": {
"available": [
{
"uuid": "<string>",
"name": "<string>",
"price_kopeks": 123,
"price_label": "<string>",
"discount_percent": 123,
"is_connected": false,
"is_available": true,
"disabled_reason": "<string>"
}
],
"min": 0,
"max": 0,
"can_update": true,
"hint": "<string>"
},
"traffic": {
"options": [
{
"value": 123,
"label": "<string>",
"price_kopeks": 123,
"price_label": "<string>",
"is_current": false,
"is_available": true,
"description": "<string>"
}
],
"can_update": true,
"current_value": 123
},
"devices": {
"options": [
{
"value": 123,
"label": "<string>",
"price_kopeks": 123,
"price_label": "<string>"
}
],
"can_update": true,
"min": 0,
"max": 0,
"step": 1,
"current": 0,
"price_kopeks": 123,
"price_label": "<string>"
},
"currency": "RUB",
"billing": {
"months_remaining": 1,
"period_hint_days": 123,
"renews_at": "2023-11-07T05:31:56Z"
}
},
"success": true
}curl --request POST \
--url http://localhost:8080/miniapp/subscription/settings \
--header 'Content-Type: application/json' \
--data '
{
"initData": "<string>",
"subscription_id": 123
}
'{
"settings": {
"subscription_id": 123,
"current": {
"servers": [
{
"uuid": "<string>",
"name": "<string>"
}
],
"traffic_limit_gb": 123,
"traffic_limit_label": "<string>",
"device_limit": 0
},
"servers": {
"available": [
{
"uuid": "<string>",
"name": "<string>",
"price_kopeks": 123,
"price_label": "<string>",
"discount_percent": 123,
"is_connected": false,
"is_available": true,
"disabled_reason": "<string>"
}
],
"min": 0,
"max": 0,
"can_update": true,
"hint": "<string>"
},
"traffic": {
"options": [
{
"value": 123,
"label": "<string>",
"price_kopeks": 123,
"price_label": "<string>",
"is_current": false,
"is_available": true,
"description": "<string>"
}
],
"can_update": true,
"current_value": 123
},
"devices": {
"options": [
{
"value": 123,
"label": "<string>",
"price_kopeks": 123,
"price_label": "<string>"
}
],
"can_update": true,
"min": 0,
"max": 0,
"step": 1,
"current": 0,
"price_kopeks": 123,
"price_label": "<string>"
},
"currency": "RUB",
"billing": {
"months_remaining": 1,
"period_hint_days": 123,
"renews_at": "2023-11-07T05:31:56Z"
}
},
"success": true
}