Check storage tariff before buy
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Authorize URL: https://streamvi.io/cabinet/oauth
Token URL: https://api-v2.streamvi.io/site/oauth/token
Scopes:
billing:read-Чтение биллинга
or
Request Code Samples
curl --location 'https://api-v2.streamvi.io/method/plan_storage/check?v=undefined&language=undefined&project_id=undefined'
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 2026-05-13 15:11:55