Your transactions
Transactions are your orders, transfers and card purchases in one list, newest first. Use them to see what filled, what moved, and when.
The list covers what you do through True Markets. Tokens you receive from outside, such as a deposit to your wallet, aren't in it, so read your balances for those. Orders and transfers you never executed aren't listed here or in GET /v1/gateway/orders. Read them by id.
Your transactions
Call GET /v1/gateway/transactions with your token. Each row's type says which object it holds, order, transfer or ramp (a card purchase), and the field with that name holds the full object in the same shape its own endpoint returns.
Each row's status is one of pending, completed, failed or canceled. The object's own status, such as an order's complete, stays inside it.
Pass type to keep one kind, for example type=order. limit defaults to 50 and goes up to 100. To get the next page, pass the cursor from pagination.next_cursor.
- TypeScript
- Python
- curl
const feed = await get("/v1/gateway/transactions?type=order");
feed = get("/v1/gateway/transactions?type=order")
curl -s -G https://api.truemarkets.co/v1/gateway/transactions \
-H "Authorization: Bearer $TOKEN" \
-d type=order
{
"data": [
{
"type": "order",
"status": "completed",
"asset_symbol": "SOL",
"qty": "0.0102",
"order": { "…": "the same object as GET /orders/{id}" }
}
],
"pagination": { "next_cursor": null, "limit": 50 }
}
Next: Go live checklist