Bonuses
A list of all publicly available methods for interacting with the API.
- Main
- Cart (8 methods)
- Calculate ### Calculate order Calculate given order and return the result, this is used in plan selector to show the price of the order.
- Order ### How to change? You can manage your order here, like change count, traffic, period, countries, etc. You need __money__ to change order, Package
- Available countries
- Available geo services
- Config Get all config for calculator, like: rules for counts, traffic, paid period, etc. This is used in plan selector to show the rules for the order.
- Purchase ### Purchase order This method is used to purchase the order, you need to send the _order_id_, _overall_ *(Is total_price, based on user currency)* from [v2/cart/order](/apidocs/cart/order) to this endpoint to purchase the order.
- Sale percentage ### Sale percentage #### What is the sale percentage? Sale percentage is a discount that is applied to the price of the order. The sale percentage is calculated based on the user's activity on the site, or referrals. The more active the user is, the higher the discount. #### Referral program It uses __sp-referral__ header as a referral code, more you can find on [wiki welcome page](/apidocs). #### How to apply the sale percentage? This is already calculated in the price of the orders, you don't need to do anything, just purchase the order. Cart
- Bonuses
- Package (30 methods)
- Proxies Package(11 methods)
- Proxies Package(11 methods)
- Proxies Package(11 methods)
- Proxies Package(11 methods)
- Information(4 methods)
- Order ### How to change? You can manage your order here, like change count, traffic, period, countries, etc. You need __money__ to change order, Package(5 methods)
- Information(4 methods)
- Delete
- Download hash Reset download hash for package, old hash will not be valid anymore.(3 methods)
- Download hash Reset download hash for package, old hash will not be valid anymore.(3 methods)
- Download Download proxies in specific format, with specific connection type(3 methods)
- Features Package(2 methods)
- Features Package(2 methods)
- Proxies Package(11 methods)
- Proxies Package(11 methods)
- Proxies Package(11 methods)
- Order ### How to change? You can manage your order here, like change count, traffic, period, countries, etc. You need __money__ to change order, Package(5 methods)
- Order ### How to change? You can manage your order here, like change count, traffic, period, countries, etc. You need __money__ to change order, Package(5 methods)
- Order ### How to change? You can manage your order here, like change count, traffic, period, countries, etc. You need __money__ to change order, Package(5 methods)
- Order ### How to change? You can manage your order here, like change count, traffic, period, countries, etc. You need __money__ to change order, Package(5 methods)
- Proxies Package(11 methods)
- Proxies Package(11 methods)
- Proxies Package(11 methods)
- Proxies Package(11 methods)
- Settings Update user settings, for example: name, email, currency. Some settings need confirmation, for example: email.(2 methods)
- Settings Update user settings, for example: name, email, currency. Some settings need confirmation, for example: email.(2 methods)
- Connection bridges Change the connection bridge to other.(2 methods)
- Connection bridges Change the connection bridge to other.(2 methods)
- Information(4 methods)
- Information(4 methods)
- User (46 methods)
- Information
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Oauth(3 methods)
- Oauth(3 methods)
- Oauth(3 methods)
- Sessions Get session by id. User(3 methods)
- Fire tokens(4 methods)
- Fire tokens(4 methods)
- Fire tokens(4 methods)
- Fire tokens(4 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Referral(10 methods)
- Sessions Get session by id. User(3 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Sessions Get session by id. User(3 methods)
- Notifications Get and read all user notifications. User
- Phone status(2 methods)
- Settings Update user settings, for example: name, email, currency. Some settings need confirmation, for example: email.(3 methods)
- Settings Update user settings, for example: name, email, currency. Some settings need confirmation, for example: email.(3 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Abilities Check if token has ability to do something. User(2 methods)
- Abilities Check if token has ability to do something. User(2 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Money & Balance Get allowed and enabled payment methods (some countries may have restrictions). User(10 methods)
- Phone(2 methods)
- Avatar(3 methods)
- Other linked accounts(3 methods)
- Other linked accounts(3 methods)
- Promotion(2 methods)
- Promotion(2 methods)
- Features Package(2 methods)
- Features Package(2 methods)
- Other linked accounts(3 methods)
- Referral(10 methods)
- Checker (4 methods)
- IP information Get IP information, such as country, city, timezone, etc. Checker(2 methods)
- IP information Get IP information, such as country, city, timezone, etc. Checker(2 methods)
- Proxy ### Check proxy This method allows connect through proxy and check if it's working. #### How it works? It will connect to `http://host.stableproxy.com/ip/` through proxy and get IP address, then it will connect to `https://ipinfo.io/widget/demo/ip` and get location information. Checker
- Blacklist ### Check website before order Check website in blacklist before order, some types of blacklist can be enabled or disabled. For example we allow pay sites on mobile proxies. Checker
- Conversation (6 methods)
- Messages Mark message as read. Conversation(3 methods)
- Messages Mark message as read. Conversation(3 methods)
- Support Write ticket to support. Conversation(3 methods)
- Messages Mark message as read. Conversation(3 methods)
- Support Write ticket to support. Conversation(3 methods)
- Support Write ticket to support. Conversation(3 methods)
GET
Get cart bonuses Bonuses -/cart/bonuses/{prefix?}
Query method
GEThttp://apilocal.stableproxy.com/v2/cart/bonuses/{prefix?}
Code examples
JavaScript
1async function getCartBonuses{prefix?}() {
2 const baseUrl = 'http://apilocal.stableproxy.com/v2';
3 const req = await fetch(baseUrl + '/cart/bonuses/{prefix?}', {
4 method: 'GET',
5 headers: {
6 'Content-Type': 'application/json'
7 }
8 }
9 );
10
11 const res = await req.json();
12}