Get Order History
Account API
Get Order History
Retrieve the complete order history for a specific customer.
GET
Get 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
The customer’s Discord ID or identifier.
Example Request
Response
Success Response
Response Fields
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
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
