Proxy-seller

下单

Updated:

此请求可帮助您下单。

代理标识符在手动或自动续期后会发生变化。

IP的处理、选择和激活过程通常需要几秒钟到一分钟不等,具体时间取决于系统的整体负载,包括同时处理的订单数量和连接队列的情况。

终点:

POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/order/make

路径参数

名称

价值

描述

授权

<Your_API_Key>

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

请求正文

名称

类型

描述

countryId

字符串

您在/reference/list/{type} 请求,例如“USA”

periodId

字符串

您在/reference/list/{type} 例如“1m”

优惠券

字符串

如有优惠码,请提供

paymentId

字符串

支付系统中的“余额”(balance)和“卡片”(card)——即您在个人中心中添加的卡片

数量

编号

您想要订购的代理数量

授权

字符串

授权方式。若需使用用户名和密码进行授权,请留空

customTargetName

字符串

需添加自定义目标

generateAuth

字符串

创建自定义授权 - Y/N (N - 默认)

sectionCode

字符串

例如:代理类型键ipv4,ipv6,mobile, mix, isp_mix

运行时间

布尔值

为 IPv4/ISP 订单启用运行时间/高可用性模式。默认值:false。当所选国家/地区和时间段支持运行时间定价时,该功能适用于 IPv4 和 ISP。


名称

类型

描述

countryId

字符串

您在 /reference/list/{type} 请求中选择的国家的 ID,例如 ‘’

periodId

字符串

您在 /reference/list/{type} 请求中选定的时段 ID,例如“1m”

优惠券

字符串

如有优惠码,请提供

paymentId

字符串

支付系统中“余额”的ID为 balance,“卡片”的ID为 card(即您在个人中心中添加的卡片)

数量

编号

您想要订购的代理数量

授权

字符串

授权方式。若需使用用户名和密码进行授权,请留空

customTargetName

字符串

需添加自定义目标

协议

字符串

HTTPS 或SOCKS5

sectionCode

字符串

例如,代理类型键:ipv4,ipv6,mobile, mix, isp_mix

名称

类型

描述

countryId/countryCode

字符串

您在 /reference/list/{type} 中选择的国家/地区标识符,或 Alpha-3 国家代码,例如“USA”

periodId/periodCode

字符串

您在 /reference/list/{type} 请求中选定的时段 ID,例如“1m”

优惠券

字符串

如有优惠码,请注明

paymentId

字符串

支付系统中“余额”的ID为 balance,“卡片”的ID为 card(即您在个人中心中添加的卡片)

数量

编号

您想要订购的代理数量

授权

字符串

授权方式。若需使用用户名和密码进行授权,请留空

mobileServiceType

字符串

共享 或专属

operatorId

字符串

来自 /reference/list/mobile 的移动运营商 ID

rotationId

字符串

来自 /reference/list/mobile 的移动端轮换 ID。必须为以分钟为单位的整数值

sectionCode

字符串

例如“代理类型”键ipv4,ipv6,mobile, mix, isp_mix

名称

类型

描述

优惠券

字符串

如有优惠码,请提供

paymentId

字符串

支付系统中“余额”的ID为 balance,“卡片”的ID为 card(即您在个人中心中添加的卡片)

tarifId

编号

您在/reference/list/resident 请求

示例

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/order/make
{
    "countryId": "USA",
    "periodId": "1m",
    "coupon": "",
    "paymentId": "balance",
    "quantity": 1,
    "generateAuth": "N",
    "customTargetName": "Facebook",
    "sectionCode": "ipv4",
    "uptime": true
}

回复

{
    "status": "success",
    "data": {
        "orderId": "10",
        "total": 1.80,
        "listBaseOrderNumbers": [
            "NS_12345678910-qq"
        ],
        "balance": 38.00
    },
    "errors": []
}
{
  "status": "error",
  "data": null,
  "errors": [
    {
      "message": "Insufficient funds. Total $2. Not enough $33.10",
      "code": 0,
      "customData": null
    }
  ]
}

错误的 countryId

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

错误的periodId

{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Set existed [periodId] from reference",
            "code": 0,
            "customData": null
        }
    ]
}

On this page