StableProxy Главная
Menu
Флаг Россия
Авторизация

Cart order

Список всех доступных методов для взаимодействия с API.

Главная
Cart8 методовGet cart calculateCart orderGet cart available countriesGet cart available geo servicesGet cart configCart purchaseGet cart sale percentageGet cart bonuses
User13 методовInfoOauthSessionsApi tokensNotificationsPhone statusSettingsMoney & BalanceAbilitiesOther linked accountsPromoFeaturesReferral
Checker3 методовIP informationProxyBlacklist
Conversation2 методовMessagesSupport(2)
Package9 методовRotate tokenInfoOrderProxies(4)Package deleteDownloadFeaturesSettingsConnection bridges
Інше20 методовApi methodsBusiness contactGet captcha challengeCaptcha demo protectedCaptcha verifyCaptcha widget.jsPackage download hashPackage proxy locationsGet package proxy locations serviceGet tracking infoTracking initUser 2faUser 2faUser 2fa confirmUser 2fa enrollUser 2fa verifyUser admin legacy sessionGet user balance notifyUser balance notifyUser login 2fa
Public2 методовsettingsStatus
POST

Cart order

/cart/order

Pre-Purchase order

Convert your order to buy request, then send order_id,total_price to v2/cart/purchaser.

Способ запроса

POSThttps://api.stableproxy.com/v2/cart/order

Параметры запроса

ИдентификаторПравилаПример
traffic-unitНе обязательноnullablestringin:gb"gb"
period-unitНе обязательноnullablestringin:weeks, weeks, months, years"weeks"
traffic-amountrequiredilluminate\_validation\_invokable_validation_rulenull
period-amountrequiredintegerin:1"1"
countНе обязательноnullableinteger30
countriesНе обязательноnullablearray{"UA": 10, "PL": 20}
typerequiredstringin:shared, private, mobile_rotating_gb, residential_gb, datacenter_gb, residential_city_gb, residential_static_gb, mobile_gb, mobile_static, mobile_static_gb, mobile_shared_gb, mobile_private_gb"shared"
currencyНе обязательноnullablestringcurrency_code"USD"
has-unlimited-auth-ipsНе обязательноnullableex-booleanfalse
serviceНе обязательноnullablestringilluminate\_validation\_rules\_in97
ip-scoreНе обязательноnullablenumeric29

Примеры кода

1const baseUrl = "https://api.stableproxy.com/v2";
2const response = await fetch(baseUrl + "/cart/order", {
3 method: "POST",
4 headers: {
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 "traffic-unit": "\"gb\"",
9 "period-unit": "\"weeks\"",
10 "traffic-amount": "null",
11 "period-amount": "\"1\"",
12 "count": 30,
13 "countries": "{\"UA\": 10, \"PL\": 20}",
14 "type": "\"shared\"",
15 "currency": "\"USD\"",
16 "has-unlimited-auth-ips": "false",
17 "service": 97,
18 "ip-score": 29
19 })
20});
21const data = await response.json();

Примеры ответов

Success response200application/json
{
  "data": {
    "buy_data": {
      "order_id": "bbb940d1-3263-4dd3-ae93-9e2d31e2e0ce",
      "expire_at": "2024-11-10T19:28:40.071445Z",
      "logged_in": false,
      "money_enough": false,
      "total_price": 3.34,
      "total_price_in_usd": 3.34
    },
    "warnings": [],
    "order": {
      "version": 32,
      "added_price_per_day": 0,
      "already_spent_in_usd": 0,
      "count": 30,
      "traffic_amount": 25,
      "traffic_unit": "gb",
      "period_amount": 1,
      "period_unit": "weeks",
      "countries": {
        "UA": 10,
        "PL": 20
      },
      "currency": "USD",
      "type": "shared",
      "has_unlimited_auth_ips": false,
      "user_id": null,
      "ip_score": 29,
      "geo_service": "adspower",
      "id": "bbb940d1-3263-4dd3-ae93-9e2d31e2e0ce",
      "already_spent": 0,
      "pay_for_setup": false,
      "prices": {
        "overall": 3.34,
        "one_proxy": 0.08,
        "overall_formatted": "$3.34",
        "one_proxy_formatted": "$0.08 - 1 proxy",
        "overall_usd": 3.34,
        "one_proxy_usd": 0.08,
        "overall_formatted_usd": "$3.34",
        "version": 32,
        "one_proxy_formatted_usd": "$0.08 - 1 proxy",
        "currency": "USD",
        "sale_percentage": 1,
        "sale_amount_usd": 0,
        "sale_amount": 0
      },
      "renew_prices": {
        "overall": 3.34,
        "one_proxy": 0.08,
        "overall_formatted": "$3.34",
        "one_proxy_formatted": "$0.08 - 1 proxy",
        "overall_usd": 3.34,
        "one_proxy_usd": 0.08,
        "overall_formatted_usd": "$3.34",
        "version": 32,
        "one_proxy_formatted_usd": "$0.08 - 1 proxy",
        "currency": "USD",
        "sale_percentage": 1,
        "sale_amount_usd": 0,
        "sale_amount": 0
      }
    }
  },
  "good": true,
  "timestamp": 1731265120,
  "cause": {
    "type": "anonymous",
    "user_id": -1
  }
}
Loading...
StableProxy

StableProxy

© StableProxy – 2021 - 2026 – Ukraine

Статус серверовПоддержкаFAQОтзывыМануалыБлогAPIРабота
Публичное предложениеПолитика конфиденциальностиУсловия обслуживания
Payment methods