Proxy-seller

Proxys erweitern

Aktualisiert:

Dieses Dokument enthält eine detaillierte Anleitung zur Einrichtung der automatischen Verlängerung für Ihre IP-Adressen verschiedener Typen. Bitte beachten Sie, dass IP-Adressen rechtzeitig verlängert werden müssen, um die gleichen Adressen beizubehalten.

Erweiterung berechnen

Über diesen Endpunkt können Sie die Kosten berechnen. Mengen- und Laufzeitrabatte entsprechen denen, die unser Service anbietet.

Endpunkt:

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

Pfadparameter

Name

Wert

Beschreibung

Autorisierung

<Your_API_Key>

Dein persönlicher API-Schlüssel (So erhält man)

Proxy-Typ

ipv4

ipv6

mobile

isp

mix

mix_isp

Der Proxy-Typ, den Sie erweitern möchten

Anfrageinhalt

Name

Typ

Beschreibung

ids

String

Eine einzelne ID oder ein Array von IDs in „[ ]“, durch Kommas getrennt

Gutschein

String

Der Kommentar, den Sie hinzufügen möchten

periodId

String

ID des Zeitraums, den Sie in der Anfrage /reference/list/{type} ausgewählt haben, oder stabiler Zeitraumcode, zum Beispiel 1m

paymentId

String

Die ID des Zahlungssystems. „balance“ für Guthaben, „card“ für die zu Ihrem Konto hinzugefügte Karte.

Name

Typ

Beschreibung

orderIds

String

Eine einzelne ID oder ein Array von Bestell-IDs in „[ ]“, durch Kommas getrennt

Gutschein

String

Der Kommentar, den Sie hinzufügen möchten

periodId

String

ID des Zeitraums, den Sie in der Anfrage /reference/list/{type} ausgewählt haben, oder stabiler Zeitraumcode, zum Beispiel 1m

paymentId

String

Die ID des Zahlungssystems. „balance“ für Guthaben, „card“ für die zu Ihrem Konto hinzugefügte Karte.

Beispiel (z. B. ipv4)

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

Antwort

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

Erstellen Sie einen Verlängerungsauftrag

In diesem Abschnitt erfahren Sie, wie Sie eine Verlängerungsbestellung erstellen.

Endpunkt:

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

Pfadparameter

Name

Wert

Beschreibung

Autorisierung

<Your_API_Key>

Dein persönlicher API-Schlüssel (So erhältst du)

Proxy-Typ

ipv4

ipv6

mobile

isp

mix

mix_isp

Proxy-Typ, den Sie verlängern möchten

Anfragetext

Name

Typ

Beschreibung

ids

String

Eine einzelne ID oder ein Array von IDs in „[ ]“, durch Kommas getrennt

Gutschein

String

Der Kommentar, den Sie hinzufügen möchten

periodId

String

ID des Zeitraums, den Sie in der Anfrage /reference/list/{type} ausgewählt haben, oder stabiler Zeitraumcode, zum Beispiel 1m

paymentId

String

Die ID des Zahlungssystems. „balance“ für Guthaben, „card“ für die zu Ihrem Konto hinzugefügte Karte.

Name

Typ

Beschreibung

orderIds

String

Eine einzelne ID oder ein Array von Bestell-IDs in „[ ]“, durch Kommas getrennt

Gutschein

String

Der Kommentar, den Sie hinzufügen möchten

periodId

String

ID des Zeitraums, den Sie in der Anfrage /reference/list/{type} ausgewählt haben, oder stabiler Zeitraumcode, zum Beispiel 1m

paymentId

String

Die ID des Zahlungssystems. „balance“ für Guthaben, „card“ für die zu Ihrem Konto hinzugefügte Karte.

Beispiel (z. B. ipv4)

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

Antwort

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