Unlimited Datacenter Proxies (DCP)

This page describes how to add and remove balance for Unlimited Datacenter Proxies to your subusers, aswell as view their usage history and reset their auth_key.


POST/v2/reseller/sub_users/add_dcp_time

Add balance

This endpoint allows you to add balance in MB (megabytes) to a subuser.

Required Body "Raw" Items

  • Name
    username
    Type
    string
    Description

    The username of the customer.

  • Name
    hours
    Type
    number
    Description

    Hours to add to the subuser, if the subuser already has active time the time will be appended.

  • Name
    threads
    Type
    number
    Description

    Number of maximum threads to set for the subuser. If the subuser has an active subsciption, you will be charged for the upgrade in threads for the active time.

Returned Properties

  • Name
    data
    Type
    object
    Description

    The account data of the subuser.

  • Name
    message
    Type
    string
    Description

    The message of the response.

  • Name
    status
    Type
    number
    Description

    The status code of the response.

  • Name
    timestamp
    Type
    number
    Description

    The timestamp in milliseconds of the response.

Request

POST
/v2/reseller/sub_users/add_dcp_time
  curl --location --request POST 'https://api.infiniteproxies.com/v2/reseller/sub_users/add_dcp_time' \
    --header 'X-API-KEY: [API KEY]' \
    --data '{"username":"infproxy_customer","hours": 24, "threads": 50}'

Response

{
"message":"Success! Your reseller account has been charged $1.700. The cost breakdown is $1.75 for the days ($1.75 per day), $0.00 for the threads ($0.0040 per thread per day, 400 included), and $0.00 for the upgrade of threads for the remaining time.",
"timestamp": 1710521742499,
"data": {
"email": "[email protected]",
"username": "infproxy_customer",
"created_at": "2024-03-15T16:55:42.493283Z",
"updated_at": "2024-03-15T16:55:42.493283Z",
"products": {
    "residential": {
        "balance": 0,
        "proxy_key": "o3ES790NowLodxOuFNup"
    },
    "sharedDataCenter": {
        "balance": 0,
        "proxy_key": "NudAMGhkISx6skP65dQx"
    },
    "dataCenterIPV6": {
        "proxy_key": "wvmL818vcseyNBIx0P3d",
        "threadCap": 0,
        "expiresAt": "0001-01-01T00:00:00Z",
        "expiresInHours": -2562047.788015,
        "balance": 0
    },
    "mobile": {
        "balance": 0,
        "proxy_key": "vxHEmIRGWWoiegbscLQV"
    },
    "dataCenter": {
        "proxy_key": "oZraZtsV2Lz7CCmVl4cf",
        "threadCap": 50,
        "expiresAt": "2024-12-12T00:00:00Z",
        "expiresInHours": 24,

    }
}
},
"status": 201
}

POST/v2/reseller/sub_users/remove_dcp_time

Remove balance

This endpoint will end the subscription of the subuser and remove the remaining time.

Required Body "Raw" Items

  • Name
    username
    Type
    string
    Description

    The username of the customer.

Returned Properties

  • Name
    data
    Type
    object
    Description

    The account data of the subuser.

  • Name
    message
    Type
    string
    Description

    The message of the response.

  • Name
    status
    Type
    number
    Description

    The status code of the response.

  • Name
    timestamp
    Type
    number
    Description

    The timestamp in milliseconds of the response.

Request

POST
/v2/reseller/sub_users/remove_dcp_time
  curl --location --request POST 'https://api.infiniteproxies.com/v2/reseller/sub_users/remove_dcp_time' \
    --header 'X-API-KEY: [API KEY]' \
    --data '{"username":"infproxy_customer"}'

Response

{
"message": "",
"timestamp": 1710521742499,
"data": {
"email": "[email protected]",
"username": "infproxy_customer",
"created_at": "2024-03-15T16:55:42.493283Z",
"updated_at": "2024-03-15T16:55:42.493283Z",
"products": {
    "residential": {
        "balance": 0,
        "proxy_key": "o3ES790NowLodxOuFNup"
    },
    "sharedDataCenter": {
        "balance": 0,
        "proxy_key": "NudAMGhkISx6skP65dQx"
    },
    "dataCenterIPV6": {
        "proxy_key": "wvmL818vcseyNBIx0P3d",
        "threadCap": 0,
        "expiresAt": "0001-01-01T00:00:00Z",
        "expiresInHours": -2562047.788015,
        "balance": 0
    },
    "mobile": {
        "balance": 0,
        "proxy_key": "vxHEmIRGWWoiegbscLQV"
    },
    "dataCenter": {
        "proxy_key": "oZraZtsV2Lz7CCmVl4cf",
        "threadCap": 0,
        "expiresAt": "0001-01-01T00:00:00Z",
        "expiresInHours": -2562047.788015,
        "balance": 0
    }
}
},
"status": 201
}

POST/v2/reseller/sub_users/reset_dcp_auth_key

Reset proxy authkey

This endpoint allows you to reset the proxy password of a subuser.

Required Body "Raw" Items

  • Name
    username
    Type
    string
    Description

    The username of the customer.

Returned Properties

  • Name
    data
    Type
    object
    Description

    The account data of the subuser.

  • Name
    message
    Type
    string
    Description

    The message of the response.

  • Name
    status
    Type
    number
    Description

    The status code of the response.

  • Name
    timestamp
    Type
    number
    Description

    The timestamp in milliseconds of the response.

Request

POST
/v2/reseller/sub_users/reset_dcp_auth_key
  curl --location --request POST 'https://api.infiniteproxies.com/v2/reseller/sub_users/reset_dcp_auth_key' \
    --header 'X-API-KEY: [API KEY]' \
    --data '{"username":"infproxy_customer"}'

Response

{
"message": "",
"timestamp": 1710521742499,
"data": {
"email": "[email protected]",
"username": "infproxy_customer",
"created_at": "2024-03-15T16:55:42.493283Z",
"updated_at": "2024-03-15T16:55:42.493283Z",
"products": {
    "residential": {
        "balance": 0,
        "proxy_key": "o3ES790NowLodxOuFNup"
    },
    "sharedDataCenter": {
        "balance": 10,
        "proxy_key": "NudAMGhkISx6skP65dQx"
    },
    "dataCenterIPV6": {
        "proxy_key": "wvmL818vcseyNBIx0P3d",
        "threadCap": 0,
        "expiresAt": "0001-01-01T00:00:00Z",
        "expiresInHours": -2562047.788015,
        "balance": 0
    },
    "mobile": {
        "balance": 0,
        "proxy_key": "vxHEmIRGWWoiegbscLQV"
    },
    "dataCenter": {
        "proxy_key": "oZraZtsV2Lz7CCmVl4cf",
        "threadCap": 0,
        "expiresAt": "0001-01-01T00:00:00Z",
        "expiresInHours": -2562047.788015,
        "balance": 0
    }
}
},
"status": 201
}