curl --request GET \
--url https://api.example.com/subscriptions/{subscription_id} \
--header 'X-API-Key: <api-key>'{
"id": 123,
"user_id": 123,
"status": "<string>",
"actual_status": "<string>",
"is_trial": true,
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"traffic_limit_gb": 123,
"traffic_used_gb": 123,
"device_limit": 123,
"autopay_enabled": true,
"autopay_days_before": 123,
"subscription_url": "<string>",
"subscription_crypto_link": "<string>",
"connected_squads": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Получение информации о подписке по идентификатору.
curl --request GET \
--url https://api.example.com/subscriptions/{subscription_id} \
--header 'X-API-Key: <api-key>'{
"id": 123,
"user_id": 123,
"status": "<string>",
"actual_status": "<string>",
"is_trial": true,
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"traffic_limit_gb": 123,
"traffic_used_gb": 123,
"device_limit": 123,
"autopay_enabled": true,
"autopay_days_before": 123,
"subscription_url": "<string>",
"subscription_crypto_link": "<string>",
"connected_squads": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Successful Response