Proxy-seller

Subuser-Paket erstellen

Aktualisiert:

Mit dieser API können Sie ein Zusatzpaket aus Ihrem derzeit aktiven Tarif mit Datenvolumen erstellen. Die Gültigkeitsdauer des Zusatzpakets darf die Gültigkeitsdauer des derzeit aktiven Tarifs nicht überschreiten. Das Datenvolumen wird in Byte angegeben, und die angegebene Datenmenge wird aus Ihrem derzeit aktiven Tarif reserviert, jedoch nicht mehr als das verfügbare Datenvolumen.

Endpunkt:

POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/residentsubuser/create

Pfadparameter:

Name

Wert

Beschreibung

Autorisierung

<Your_API_Key>

Dein persönlicher API-Schlüssel

Anfragetext:

Name

Typ

Beschreibung

is_link_date

boolean

„Wenn ‚true‘, wird das Ablaufdatum mit dem Hauptpaket verknüpft.

Rotation

Nummer

Gibt die Art der Rotation an: „-1“ = Keine Rotation (Sticky), „0“ = Rotation auf Anfrage, „1“ bis „3600“ = Rotation nach Zeit in Sekunden.

traffic_limit

String

Die Anzahl der Bytes, die für das Subuser-Paket zugewiesen wurden.

expired_at

String

Das Ablaufdatum für das Subuser-Paket.

Beispiel:

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/residentsubuser/create
{
 "is_link_date": true,
 "rotation": -1,
 "traffic_limit": "104857600",
 "expired_at":"20.10.2026"
}

Antwort:

{
    "status": "success",
    "data": {
        "rotation": -1,
        "traffic_limit": "104857600",
        "expired_at": {
            "date": "2026-10-20 23:59:59.000000",
            "timezone_type": 3,
            "timezone": "UTC"
        },
        "is_link_date": true,
        "is_active": true,
        "package_key": "bbfc4a2df989b5db96e1",
        "traffic_usage": "0",
        "traffic_left": "104857600",
        "traffic_usage_sub": "0",
        "traffic_limit_sub": "209715200",
        "traffic_left_sub": "209715200"
    },
    "errors": []
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Error api key",
            "code": 503,
            "customData": null
        },
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        },
        {
            "message": "Request limit reached",
            "code": 503,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Set [ traffic_limit ] less than [ traffic_left - 1 ] in main package: 27380416559",
            "code": 0,
            "customData": null
        }
    ]
}

On this page