cURL
curl --request POST \ --url https://dashboard.statproxies.com/api/v2/order/exchange/{order_id}
{ "response": "<string>", "message": "<string>", "details": {}, "details.order_id": "<string>", "details.previous_count": 123, "details.new_count": 123, "details.requested_count": 123, "details.overlapping_ips": 123 }
Replace all IP addresses in an order with new ones.
proxy_exchange
Authorization
Bearer {your_api_key}
curl -X POST "https://dashboard.statproxies.com/api/v2/order/exchange/sub_1rqjp3jb4g9i6pkhdwmkpjob" \ -H "Authorization: Bearer {your_api_key}"
{ "response": "success", "message": "Proxies exchanged successfully", "details": { "order_id": "sub_1rqjp3jb4g9i6pkhdwmkpjob", "previous_count": 10, "new_count": 10, "requested_count": 10, "overlapping_ips": 0 } }
{ "response": "error", "message": "Proxy exchange feature is not enabled for your organization. Contact support to enable this feature." }
{ "response": "error", "message": "Order not found or you don't have permission to access it" }
{ "response": "error", "message": "Can only exchange proxies for active orders" }
{ "response": "error", "message": "Proxy exchange is only available for datacenter products" }
Request Exchange
Current IPs Removed
New IPs Assigned
Confirmation