Accounts
GET{BASE_URL}/accounts
Lists the accounts your client can access. Use these values as
account_number on every other endpoint. One account can trade every
market it is enabled for. Returns [] if there are none.
Responses
- 200
- 401
- 403
- 500
Accessible accounts.
The Authorization header is missing, or the access token is invalid or expired.
The token is valid but not allowed to make this request: your client
does not have trading access (for a POST), or it cannot access the
account_number.
Unexpected server-side failure. For order requests, check the order's
status with Get order before retrying: retrying an order_id that was
already accepted is rejected as a duplicate.