curl --request POST \
--url http://localhost:8080/cabinet/subscription/purchase \
--header 'Content-Type: application/json' \
--data '
{
"selection": {
"period_id": "<string>",
"period_days": 1825,
"traffic_value": 50000,
"servers": [
"<string>"
],
"devices": 50
}
}
'{}Submit subscription purchase (deduct from balance, classic mode only).
curl --request POST \
--url http://localhost:8080/cabinet/subscription/purchase \
--header 'Content-Type: application/json' \
--data '
{
"selection": {
"period_id": "<string>",
"period_days": 1825,
"traffic_value": 50000,
"servers": [
"<string>"
],
"devices": 50
}
}
'{}Request to preview purchase pricing.
User's selection for subscription purchase.
Show child attributes
Successful Response
The response is of type Response Submit Purchase Cabinet Subscription Purchase Post · object.