Proxy-seller

프록시 확장

이 문서는 다양한 유형의 IP 주소에 대한 자동 갱신을 설정하는 방법에 대한 자세한 안내를 제공합니다. 동일한 주소를 유지하려면 IP 주소를 제때 갱신해야 한다는 점에 유의하세요.

연장 계산

이 엔드포인트는 비용 계산에 도움이 됩니다. 볼륨 및 대여 기간에 대한 할인은 당사 서비스에서 제공하는 할인과 유사합니다.

엔드포인트:

POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/prolong/calc/{type}

경로 매개변수

이름

가치

설명

권한 부여

<Your_API_Key>

개인 API 키(얻는 방법)

프록시 유형

ipv4

ipv6

mobile

isp

mix

mix_isp

확장하려는 프록시 유형

요청 본문

이름

유형

설명

ids

번호

쉼표로 구분된 '[ ]' 안에 단일 ID 또는 여러 ID 배열(얻는 방법)

쿠폰

문자열

추가하려는 댓글

periodId

문자열

에서 선택한 기간의 ID/참조/목록/{유형} 요청

paymentId

문자열

결제 시스템의 ID입니다. 잔액은 '1', 계정에 추가된 카드는 '43'입니다.

(예: IPv4)

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/prolong/calc/ipv4

응답

{
  "status": "success",
  "data": {
    "warning": "",
    "balance": 40.4,
    "total": 35.1,
    "quantity": 5,
    "currency": "USD",
    "discount": 0.22,
    "items": [
      {
        "id": 10,
        "order_id": 1000000,
        "order_number": "1000000_57471911",
        "base_order_number": "1000000_57471911",
        "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
      }
    ],
    "orders": 2
  },
  "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
      }
    ],
    "orders": 2
  },
  "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/v1/{YourApiKey}/prolong/make/{type}

경로 매개변수

이름

가치

설명

권한 부여

<Your_API_Key>

개인 API 키(얻는 방법)

프록시 유형

ipv4

ipv6

mobile

isp

mix

mix_isp

연장하려는 프록시 유형

요청 본문

이름

유형

설명

ids

번호

쉼표로 구분된 "[ ]"의 ID로 구성된 하나 또는 배열

쿠폰

문자열

추가하고 싶은 댓글

periodId

문자열

참조/목록/{유형} 요청에서 선택한 기간의 ID

paymentId

문자열

결제 시스템의 ID "1" - 잔액, "43" - 캐비닛에 추가한 카드

(예: IPv4)

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/prolong/make/ipv4

응답

{
  "status": "success",
  "data": {
        "orderId": 3388536,
        "total": 35.1,
        "listBaseOrderNumbers": [
            "1000000_57471911"
        ],
        "balance": 40.4,
  },
  "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
      }
    ],
    "orders": 2
  },
  "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
        }
    ]
}

On this page