customers
List Customer Accounts
Returns every account the current customer has access to, each wrapped with the customer's authority level over it. After authenticating, this is typically the first call a client makes to discover account numbers for subsequent requests. Authority levels are owner (full privileges), trade-only (can trade but not move cash), and read-only (GET access only). Pass me as the customer_id.
get/customers/{customer_id}/accounts
Request
- Base URLhttps://api.cert.tastyworks.com
- Authnone declared
Path parameters
customer_idstring int32 required
Only a value of me is allowed. The API does not expose customers' internal identifiers.
Response
A list of the accounts the customer can access, each with its authority level.
Example response
{
"data": {
"items": [
{
"authority-level": "owner"
}
]
},
"context": "/customers/{customer_id}/accounts"
}Changes
No recorded changes to this operation across all 1 revision of this API.