For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/account/get-trading-setup.md.
Get the user's trading setup
Returns how the user is set up to trade and to settle.
walletslists the wallets the user holds:main, their own wallet, andstrategies, the wallet strategies trade from. A wallet the user does not hold is omitted. Eachmainaddress reportssettlement_authority: whether the user has authorized settlement of CeFi trades on that chain.trading.cefiis enabled once the user has a CeFi trading account;accountslists them, each naming the wallet it settles against and itsclient_id.trading.defiis enabled once the user holds amainwallet.settlement.defiis enabled when CeFi trading is enabled and everymainaddress has settlement authority.settlement.paxosis enabled once the user has a Paxos account.
A CeFi listing can be traded when trading.cefi.enabled and the settlement rail the
listing settles on are both enabled.
An organization token reads one of its users' setup with TM-On-Behalf-Of.
bearerAuthAuthorizationBearer <JWT>An access token from POST /v1/auth/api-key/token. An organization token lasts one hour and has no refresh token; a personal token can be refreshed.
TM-On-Behalf-Of?stringAct as one of your organization's users. The value is the user_id returned when the user was created; the request then reads that user's account. Requires an organization token and a user your organization created: 400 for a personal token, a repeated header or a non-UUID, 403 for a user outside your organization.
uuidThe user's trading setup
application/json- response
How a user is set up to trade and to settle what they trade
id*stringThe user's id
uuidwallets*array<>The wallets the user holds, main first; empty when they hold none
trading*The venues the user can trade on
settlement*The custody rails the user's CeFi trades can settle on
curl -X GET 'https://api.truemarkets.co/v1/account/me/trading' \ -H 'TM-On-Behalf-Of: 3f6d2c0e-8a41-4c2b-9f1e-2b7d5c0a9e11'{ "id": "9f1c2a4e-3b7d-4e1a-8c2f-5d6e7f8a9b0c", "wallets": [ { "name": "main", "provider": "turnkey", "addresses": [ { "chain": "solana", "address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU", "settlement_authority": true }, { "chain": "evm", "address": "0x3f1eA2C5fE0f8eB7dB1c9a1F9c3B0b5C1d2E3f40", "settlement_authority": true } ] }, { "name": "strategies", "provider": "turnkey", "addresses": [ { "chain": "solana", "address": "4mPqzVZ8r1Tq6Yd3dS5bVb1h7cS2kJ9uWm8xL3nQe2Pf" }, { "chain": "evm", "address": "0x9d2B4e6F8a0C1d3E5f7A9b0C2d4E6f8A0b1C3d5E" } ] } ], "trading": { "cefi": { "enabled": true, "accounts": [ { "wallet": "main", "client_id": "79054348114451737" } ] }, "defi": { "enabled": true } }, "settlement": { "defi": { "enabled": true }, "paxos": { "enabled": false } }}