Proxy-seller

프록시 확장

Updated:

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

확장자 계산

이 엔드포인트를 통해 비용을 계산할 수 있습니다. 대량 구매 및 임대 기간에 따른 할인은 당사 서비스에서 제공하는 것과 유사합니다.

최종 결과물:

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

경로 매개변수

이름

가치

설명

승인

<Your_API_Key>

개인 API 키 (획득 방법)

프록시 유형

ipv4

ipv6

mobile

isp

mix

mix_isp

확장하려는 프록시 유형

요청 본문

이름

유형

설명

ids

문구

단일 ID 또는 쉼표로 구분된 '[ ]' 안의 ID 배열

쿠폰

문구

추가하고자 하는 댓글

periodId

문구

/reference/list/{type} 요청에서 선택한 기간의 ID 또는 고정 기간 코드(예: 1m)

paymentId

문구

결제 시스템의 ID. 잔액은 'balance', 계정에 추가된 카드는 'card'로 표기하십시오.

이름

유형

설명

orderIds

문구

단일 ID 또는 쉼표로 구분된 '[ ]' 안의 orderID 배열

쿠폰

문구

추가하고자 하는 댓글

periodId

문구

/reference/list/{type} 요청에서 선택한 기간의 ID 또는 고정 기간 코드(예: 1m)

paymentId

문구

결제 시스템의 식별자. 잔액은 'balance', 계정에 추가된 카드는 'card'로 표기하십시오.

예시 (예: ipv4)

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

답변

{
  "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,
        "uptime": false
      }
    ],
    "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,
        "uptime": false
      }
    ],
    "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/v2/{YourApiKey}/prolong/make/{type}

경로 매개변수

이름

가치

설명

승인

<Your_API_Key>

개인 API 키 (획득 방법)

프록시 유형

ipv4

ipv6

mobile

isp

mix

mix_isp

연장하고자 하는 프록시 유형

요청 본문

이름

유형

설명

ids

문구

단일 ID 또는 '[ ]'로 묶인 쉼표로 구분된 ID 배열

쿠폰

문구

추가하고자 하는 댓글

periodId

문구

/reference/list/{type} 요청에서 선택한 기간의 ID 또는 고정 기간 코드(예: 1m)

paymentId

문구

결제 시스템의 ID. 잔액은 'balance', 계정에 추가된 카드는 'card'로 표기하십시오.

이름

유형

설명

orderIds

문구

단일 ID 또는 쉼표로 구분된 '[ ]' 안의 orderID 배열

쿠폰

문구

추가하고자 하는 댓글

periodId

문구

/reference/list/{type} 요청에서 선택한 기간의 ID 또는 고정 기간 코드(예: 1m)

paymentId

문구

결제 시스템의 ID. 잔액은 'balance', 계정에 추가된 카드는 'card'로 표기하십시오.

예시 (예: ipv4)

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

답변

{
  "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