Proxy-seller

Proxys erweitern

Dieses Dokument enthält eine detaillierte Anleitung zur Einrichtung der automatischen Erneuerung Ihrer IP-Adressen verschiedener Typen. Bitte beachten Sie, dass IP-Adressen rechtzeitig erneuert werden müssen, um dieselben Adressen beizubehalten.

Berechnung der Verlängerung

Dieser Endpunkt hilft Ihnen, die Kosten zu berechnen. Die Rabatte für Volumen und Mietdauer entsprechen denen, die unser Dienst bietet.

Endpunkt:

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

Pfadparameter

Name

Wert

Beschreibung

Autorisierung

<Your_API_Key>

Ihr persönlicher API-Schlüssel (wie man)

Proxy-Typ

ipv4

ipv6

mobile

isp

mix

mix_isp

Der Proxy-Typ, den Sie erweitern möchten

Körper der Anfrage

Name

Typ

Beschreibung

ids

Nummer

Eine einzelne ID oder ein Array von IDs in '[ ]', getrennt durch Kommas (wie man)

coupon

Zeichenfolge

Der Kommentar, den Sie hinzufügen möchten

periodId

Zeichenfolge

ID des Zeitraums, den Sie im Feld/reference/list/{type} anfrage

paymentId

Zeichenfolge

Die ID des Zahlungssystems. 1" für Guthaben, "43" für die Ihrem Konto hinzugefügte Karte.

Beispiel(z. B. ipv4)

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

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

Einen Verlängerungsauftrag erstellen

In diesem Abschnitt erfahren Sie, wie Sie einen Verlängerungsauftrag erstellen.

Endpunkt:

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

Pfad-Parameter

Name

Wert

Beschreibung

Autorisierung

<Your_API_Key>

Ihr persönlicher API-Schlüssel (wie man)

Proxy-Typ

ipv4

ipv6

mobile

isp

mix

mix_isp

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

Körper der Anfrage

Name

Typ

Beschreibung

ids

Nummer

Eine oder ein Array in ids von "[ ]", getrennt durch Kommas

coupon

Zeichenfolge

Kommentar, den Sie hinzufügen möchten

periodId

Zeichenfolge

ID des Zeitraums, den Sie in der Anfrage /reference/list/{type} ausgewählt haben

paymentId

Zeichenfolge

Id's des Zahlungssystems "1" - Saldo, "43" - Karte, die Sie in Ihrem Schrank hinzugefügt haben

Beispiel(z. B. ipv4)

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

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