Get Order History
curl --request GET \
--url https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}import requests
url = "https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"order_history": [
{}
]
}Account API
Get Order History
Retrieve the complete order history for a specific customer.
GET
/
api
/
v2
/
account
/
fetch
/
details
/
{customer_id}
Get Order History
curl --request GET \
--url https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}import requests
url = "https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"order_history": [
{}
]
}Fetch the complete order history for a specific customer identifier, including both active and expired orders.
Request
Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer {your_api_key} | Yes |
Path Parameters
string
required
The customer’s Discord ID or identifier.
Example Request
curl -X GET "https://dashboard.statproxies.com/api/v2/account/fetch/details/123456789012345678" \
-H "Authorization: Bearer {your_api_key}"
Response
Success Response
{
"order_history": [
{
"_id": "64abc123def456789",
"email": "user@example.com",
"customer_discord_id": "123456789012345678",
"product_id": "captcha",
"product_name": "Captcha Proxies",
"quantity": 10,
"order_status": "active",
"unix_purchase_date": 1753815092,
"unix_expiration_date": 1756493492,
"datacenter_details": {
"proxy_username": "sub_1rqjp3jb4g9i6pkhdwmkpjob",
"proxy_password": "stat261",
"proxy_port": 3128
}
},
{
"_id": "64xyz789abc123456",
"email": "user@example.com",
"customer_discord_id": "123456789012345678",
"product_id": "x1",
"product_name": "X1 Fiber ISP",
"quantity": 5,
"order_status": "expired",
"unix_purchase_date": 1750000000,
"unix_expiration_date": 1752678400
}
]
}
Response Fields
array
Array of order objects for the customer.
Order Object Fields
| Field | Type | Description |
|---|---|---|
_id | string | MongoDB document ID |
email | string | Customer’s email address |
customer_discord_id | string | Customer’s Discord ID |
product_id | string | Product type identifier |
product_name | string | Human-readable product name |
quantity | integer | Number of proxies |
order_status | string | Status (active, expired, cancelled) |
unix_purchase_date | integer | Purchase timestamp |
unix_expiration_date | integer | Expiration timestamp |
datacenter_details | object | Proxy credentials (if applicable) |
Error Responses
503 Service Unavailable
{
"error": "user_order_history_not_found"
}
Use Case
This endpoint is useful for:- Viewing a customer’s complete purchase history
- Auditing past orders
- Customer support inquiries
- Building customer dashboards
Notes
- Returns both active and expired orders
- Includes full order details including credentials for active orders
- The
customer_idparameter uses the Discord ID field from legacy accounts
