Create new IP
You can use this API to purchase a new plan.
This endpoint is used to purchase new IP order.
POST https://api.ipnux.com/V1/OpenApi/OpenApiPurchaseNewOrder
Headers
UserId*
String
"Authentication" generated userId
Token*
String
"Authentication" generated token
Content-Type*
String
application/json
Body
proxies_type*
string
Shared (ISP) proxies,Premium (ISP) proxies
proxies_format*
integer
Shared (ISP) proxies=2
Premium (ISP) proxies=2
purpose_web*
integer
other
time_period*
integer
Number of days to order
currency*
string
USD
udp_status*
boolean
true
discount
string
protocols_type*
integer
Binary splitting algorithm, 1=http 2=socks5, Add more than one, such as 1+2=http+socks5
buyData*
array [object {2}]
Purchase data
RandomPassword
boolean
true=Each IP is a random user password,false=Each IP has a default user password
city_name
string
San Jose
count
integer
quantity purchased
Request
{
    "proxies_type": "Shared (ISP) proxies",
    "proxies_format": 2,
    "purpose_web": other,
    "time_period": 1,
    "currency": "USD",
    "udp_status": false,
    "protocols_type": 3,
    "buyData": [
        {
            "city_name": "San Jose",
            "count": 1
        }
    ]
}Response
{
    "Code": 1000,
    "Message": "Successful",
    "Data": {
        "OrderNo": "123NcF",
        "Quantity": 1,
        "Balance": 100004.00000,
        "TimePeriod": 32,
        "Currency": "USD",
        "PerProxyPrice": 7.0,
        "Discount": 0.0,
        "Total": 7.0,
        "Amount": 7.0,
        "NodeInfos": [
            {
                "proxy_id": 178968090241012345,
                "username": "C4I6E7E3Y0U0",
                "password": "c7z2X8W1n4i9",
                "proxy_address": "1.1.1.1",
                "port": 5555,
                "protocols": 3,
                "proxy_status": 1,
                "continents_id": 1789637128402555,
                "continents_name": "北美洲",
                "country_code": "US",
                "city_id": "19822",
                "city_name": "San Jose",
                "created_at": "2024-05-12T15:35:52.438653",
                "expired_at": "2024-06-13T15:35:52.453659",
                "udp_status": false,
                "order_id": "123NcF",
                "permissions": false,
                "created_at_unix": 1715528152,
                "expired_at_unix": 1718292952
            }
        ]
    }
}Last updated