Buy pool GB
curl --request POST \
--url https://proxies.vision/api/dashboard/buy-pool-gb \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"gb_amount": 10,
"coupon_code": "PARTNER10"
}
'import requests
url = "https://proxies.vision/api/dashboard/buy-pool-gb"
payload = {
"gb_amount": 10,
"coupon_code": "PARTNER10"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({gb_amount: 10, coupon_code: 'PARTNER10'})
};
fetch('https://proxies.vision/api/dashboard/buy-pool-gb', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"gb_amount": 100,
"usd_deducted": 100,
"usd_balance": 50,
"gb_pool": "140",
"order_ref": "M2XP7QDL"
}Reseller
Buy pool GB
Requires reseller access. Unlock the Reseller Portal in the dashboard, then use a key with the buy permission. Other accounts get 403.
Buys GB for your pool with your balance at $1 per GB.
Permission: buy
POST
/
api
/
dashboard
/
buy-pool-gb
Buy pool GB
curl --request POST \
--url https://proxies.vision/api/dashboard/buy-pool-gb \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"gb_amount": 10,
"coupon_code": "PARTNER10"
}
'import requests
url = "https://proxies.vision/api/dashboard/buy-pool-gb"
payload = {
"gb_amount": 10,
"coupon_code": "PARTNER10"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({gb_amount: 10, coupon_code: 'PARTNER10'})
};
fetch('https://proxies.vision/api/dashboard/buy-pool-gb', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"gb_amount": 100,
"usd_deducted": 100,
"usd_balance": 50,
"gb_pool": "140",
"order_ref": "M2XP7QDL"
}Body
application/json
Response
200 - application/json
OK

