Check storage tariff before buy
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the oauth. Example:Authorization: oauth ********************
Request Code Samples
curl --location --request GET 'https://api-v2.streamvi.io/method/plan_storage/check?v&language&project_id' \
--header 'Authorization: oauth <token>'
Responses
application/json {
"amount": 0,
"balance": {
"balance": 1,
"currency": "rub",
"balances_allow": [
"payment"
],
"balances_values": {
"bonus": 1,
"payment": 1,
"profit": 1
}
},
"refund": {
"current": 0,
"after": 0
}
}
Modified at 2025-09-11 17:15:27