Skip to main content

GET /target-volume/orders

The user's Target Volume orders, newest first, at most 50.

Use case​

Render order history, or recover a lost order id — for example the open order blocking initialize.

Query​

ParamRequiredDescription
eStatusno1, 2, 3 or 4. See Order status.

Response 200​

{
"orders": [
{ "_id": "6730…", "eStatus": "1", "sStatus": "WAITING_PAYMENT", "paymentAddress": "…", "dExpiresAt": "…", "…": "…" }
]
}

Each entry has the fields of GET /target-volume/bot/:id except nSolLeft. Fetch one order to read what is left to pay.

Errors​

StatusMeaning
400eStatus not one of 1–4.

Example​

curl "$BASE_URL/target-volume/orders?eStatus=1" \
-H "Authorization: Bearer $ACCESS" \
-H "x-user-id: $USER_ID"