Skip to main content
GET
https://dashboard.statproxies.com
/
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}
{
  "order_history": [
    {}
  ]
}
Fetch the complete order history for a specific customer identifier, including both active and expired orders.

Request

Headers

HeaderValueRequired
AuthorizationBearer {your_api_key}Yes

Path Parameters

customer_id
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": "[email protected]",
      "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": "[email protected]",
      "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

order_history
array
Array of order objects for the customer.

Order Object Fields

FieldTypeDescription
_idstringMongoDB document ID
emailstringCustomer’s email address
customer_discord_idstringCustomer’s Discord ID
product_idstringProduct type identifier
product_namestringHuman-readable product name
quantityintegerNumber of proxies
order_statusstringStatus (active, expired, cancelled)
unix_purchase_dateintegerPurchase timestamp
unix_expiration_dateintegerExpiration timestamp
datacenter_detailsobjectProxy 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_id parameter uses the Discord ID field from legacy accounts