Proxy-seller

自动扩展代理

Updated:

本文档详细介绍了如何为各类IP地址或套餐启用自动更新功能。

计算扩展名

此端点可帮助您计算费用。批量折扣和租赁期限折扣与我们服务提供的优惠类似。

最终目标:

POSThttps://proxy-seller.com/personal/api/v2/{apiKey}/autoprolong/calc/{type}

路径参数

名称

价值

描述

授权

<Your_API_Key>

您的个人 API 密钥(获取方法)

代理类型

ipv4

ipv6

mobile

isp

mix

mix_isp

resident

用于关闭自动扩展功能的代理类型:

请求正文

名称

类型

描述

ids

字符串

单个 ID 或用逗号分隔、用 '[ ]' 括起的 ID 数组

periodId

字符串

您在 /reference/list/{type} 请求中选择的时间段 ID 或固定时间段代码,例如 1m

paymentId

字符串

支付系统的标识符。“balance”指余额,“card”指添加到您账户中的卡片。

名称

类型

描述

paymentId

字符串

支付系统的ID“平衡” - 平衡,“卡牌“ - 你添加到收藏柜中的卡牌

名称

类型

描述

orderIds

字符串

单个 ID 或用逗号分隔、用 '[ ]' 括起的 orderID 数组

periodId

字符串

您在 /reference/list/{type} 请求中选择的时间段 ID 或固定时间段代码,例如 1m

paymentId

字符串

支付系统的标识符。“balance”指余额,“card”指添加到账户中的卡片。

示例(例如:ipv4)

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/autoprolong/calc/ipv4
{
    "ids": ["10"],
    "periodId": "1m",
    "paymentId": "balance"
}

回复

{
  "status": "success",
  "data": {
    "warning": "",
    "balance": 1156.94,
    "total": 1.80,
    "quantity": 1,
    "currency": "USD",
    "discount": 0,
    "items": [
      {
        "id": "6a8ca84231799109c7df3968",
        "order_id": "6a8ca83f72a84f40192f31ed",
        "order_number": "TEST_1787603007239-P4_e_NRPkyCTUsy",
        "basket_id": "6a8ca83f72a84f40192f31ef",
        "ip": "1.1.1.185",
        "ip_only": "1.1.1.185",
        "protocol": "HTTP",
        "port_socks": 49453,
        "port_http": 49353,
        "login": "x2alltopextend",
        "password": "wrDFUifbgN",
        "auth_ip": "",
        "rotation": null,
        "link_reboot": "#",
        "country": "Germany",
        "country_alpha3": "DEU",
        "status": "Active",
        "status_type": "ACTIVE",
        "can_prolong": true,
        "date_start": "24.08.2026",
        "date_end": "29.12.2026",
        "comment": "",
        "auto_renew": "N",
        "auto_renew_period": "",
        "is_uptime": false
      }
    ],
    "orders": 1,
    "days": 30,
    "tarifId": null,
    "chargeDate": "2026-12-28 23:59:59",
    "dateEnd": "2026-12-29 23:59:59",
    "paymentId": "balance",
    "autoProlong": false
  },
  "errors": []
}
{
  "status": "error",
  "data": {
    "warning": "Insufficient funds. Total $2. Not enough $33.10",
    "balance": 2,
    "total": 35.1,
    "quantity": 5,
    "currency": "USD",
    "discount": 0.22,
    "items": [
      {
        "id": 10,
        "order_id": 1000000,
        "ip": "127.0.0.1",
        "port_http": 80,
        "port_socks": 443,
        "login": "login",
        "password": "password",
        "auth_ip": "127.0.0.2",
        "country": "USA",
        "date_start": "d.m.Y H:i:s",
        "date_end": "d.m.Y H:i:s",
        "comment": "d.m.Y H:i:s",
        "status": "ACTIVE",
        "rotation": "5",
        "link_reboot": "https://proxy-seller.com/api/proxy/reboot?token=12345",
        "can_prolong": true,
        "uptime": false
      }
    ],
    "orders": 2
  },
  "errors": []
}
{
  "status": "error",
  "data": null,
  "errors": [
    {
      "code": 0,
      "message": "Set existed [periodId] from reference",
      "customData": null
    }
  ]
}
{
  "status": "error",
  "data": null,
  "errors": [
    {
      "code": 0,
      "message": "IP not found",
      "customData": null
    }
  ]
}

启用自动续订

在本节中,您将学习如何启用自动续订功能。

最终目标:

POSThttps://proxy-seller.com/personal/api/v2/{apiKey}/autoprolong/enable/{type}

路径参数

名称

价值

描述

授权

<Your_API_Key>

您的个人 API 密钥(如何获取)

代理类型

ipv4

ipv6

mobile

isp

mix

mix_isp

resident

用于关闭自动扩展功能的代理类型:

请求正文

名称

类型

描述

ids

字符串

单个 ID 或用逗号分隔、用 '[ ]' 括起的 ID 数组

periodId

字符串

您在 /reference/list/{type} 请求中选择的时间段 ID 或固定时间段代码,例如 1m

paymentId

字符串

支付系统的标识符。“balance”指余额,“card”指添加到您账户中的卡片。

名称

类型

描述

paymentId

字符串

支付系统的ID“平衡” - 平衡,“卡牌“ - 您添加到收藏柜中的卡牌

名称

类型

描述

orderIds

字符串

单个 ID 或用逗号分隔、用“[ ]”括起的 orderID 数组

periodId

字符串

您在 /reference/list/{type} 请求中选择的时间段 ID 或稳定时间段代码,例如 1m

paymentId

字符串

支付系统的标识符。“balance”指余额,“card”指添加到您账户中的卡片。

示例(例如:ipv4)

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/autoprolong/enable/ipv4
{
    "ids": ["10"],
    "periodId": "1m",
    "paymentId": "balance"
}

回复

{
  "status": "success",
  "data": {
    "autoProlong": true,
    "quantity": 1,
    "ids": [
      "6a8db41a4423e173e2409e66"
    ],
    "days": 30,
    "paymentId": "balance",
    "chargeDate": "2026-08-31 23:59:59"
  },
  "errors": []
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Set existed [periodId] from reference",
            "code": 0,
            "customData": null
        }
    ]
}

{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP not found",
            "code": 0,
            "customData": null
        }
    ]
}

禁用自动续订

在本节中,您将了解如何关闭自动续订功能。

最终目标:

POSThttps://proxy-seller.com/personal/api/v2/{apiKey}/autoprolong/disable/{type}

路径参数

名称

价值

描述

授权

<Your_API_Key>

您的个人 API 密钥(获取方法)

代理类型

ipv4

ipv6

mobile

isp

mix

mix_isp

resident

用于关闭自动扩展功能的代理类型

请求正文

名称

类型

描述

ids

字符串

单个 ID 或用逗号分隔、用 '[ ]' 括起的 ID 数组

不包含正文字段——请发送一个空的 JSON 对象{}。您账户的常驻包已关闭自动扩展功能。ids,ips 以及orderIds 以下内容不予接受:[ids] is not applicable for resident: auto-prolong applies to the whole package

名称

类型

描述

orderIds

字符串

单个 ID 或用逗号分隔、用 '[ ]' 括起的 orderID 数组

示例(例如:ipv4)

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/autoprolong/disable/ipv4
{
    "ids": ["10"]
}

回复

{
  "status": "success",
  "data": {
    "autoProlong": false,
    "quantity": 1,
    "ids": [
      "6a8ca84231799109c7df3968"
    ],
    "days": null,
    "paymentId": null,
    "chargeDate": null,
    "dateEnd": "2026-12-29 23:59:59"
  },
  "errors": []
}
{
  "status": "error",
  "data": null,
  "errors": [
    {
      "code": 0,
      "message": "IP not found",
      "customData": null
    }
  ]
}

On this page