Skip to main content
GET
/
api
/
v1
/
auth
/
orders
/
stats
/
customer
/
{customer_id}
Customer order statistics
curl --request GET \
  --url https://crypto.westminister.tech/api/v1/auth/orders/stats/customer/{customer_id}
{
  "total_orders": 123,
  "completed_orders": 123,
  "cancelled_orders": 123,
  "pending_orders": 123,
  "total_volume": "<string>",
  "total_usdt": "<string>"
}

Path Parameters

customer_id
string<uuid>
required

Response

200 - application/json

Stats for customer

total_orders
integer
completed_orders
integer
cancelled_orders
integer
pending_orders
integer
total_volume
string

Base64-encoded aggregated volume

total_usdt
string

Base64-encoded aggregated USDT