Query for a user's information.
This API allows clients to interact with the TrueX trading platform for order management, market data retrieval, and account information.
Certain API requests must be authenticated using HMAC-SHA256 signature authentication.
curl -i -X GET \
'https://docs.truex.co/_mock/rest/v1/api/v1/client?id=string&mnemonic=string' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-truex-auth-signature: string' \
-H 'x-truex-auth-timestamp: string' \
-H 'x-truex-auth-token: string' \
-H 'x-truex-auth-userid: string'
Successful operation.
Must be UUIDv4. RFC 9562.
[ { "id": "0987654321", "status": "ACTIVE", "organization_id": "ed671d2b-bb9e-4cf5-9eb4-71b6db672207", "info": { … } } ]
curl -i -X PATCH \
https://docs.truex.co/_mock/rest/v1/api/v1/client \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-truex-auth-signature: string' \
-H 'x-truex-auth-timestamp: string' \
-H 'x-truex-auth-token: string' \
-H 'x-truex-auth-userid: string' \
-d '{
"id": "1234567890",
"info": {
"self_trade_prevention": "CANCLE_BOTH"
}
}'
Successful operation.
Must be UUIDv4. RFC 9562.
[ { "id": "0987654321", "status": "ACTIVE", "organization_id": "ed671d2b-bb9e-4cf5-9eb4-71b6db672207", "info": { … } } ]