List Accounts

get/api/prime/trading/v1/accounts

Get the list of trading accounts that the current user belongs to.

200 Response

data array[object] required
Example: {"id":"f230fdebfa084ffebc7e00515f54603f","name":"Uncle MoneyPenny's Trading Wallet"}
id string <uuid>required
name string required
json
1 2 3 4 5 6 7 8 { "data": [ { "id": "f230fdebfa084ffebc7e00515f54603f", "name": "Uncle MoneyPenny's Trading Wallet" } ] }

default Response

error string required
errorName string required
reqId string required
json
1 2 3 4 5 { "error": "invalid permission", "errorName": "backend:common:forbidden", "reqId": "d41d4d21e63d63b293caf55f2a739a79" }