Get Account By ID
Changed onFetch account details by ID, including the mailing address, date of birth, phone number, and country of tax residency of the account-holder entity when on file.
Request
- Base URLhttps://api.clearstreet.com
- AuthHTTP bearer
Path parameters
Account identifier
Response
Account details
Example response
{
"error": {
"code": 400,
"message": "Order quantity must be greater than zero"
},
"metadata": {
"page_number": 1,
"total_items": 42,
"total_pages": 5
},
"data": {
"account_holder_entity_id": 987654321,
"account_holder_entity_kind": "NATURAL_PERSON",
"close_date": null,
"country_of_tax_residency": "US",
"date_of_birth": "1985-03-15",
"full_name": "Test Trading Account",
"id": 19816,
"mailing_address": {
"city": "New York",
"country": "USA",
"line1": "4 World Trade Center",
"line2": "150 Greenwich Street, Floor 45",
"postal_code": "10007",
"state": "NY"
},
"open_date": "2023-01-15",
"options_level": 1,
"phone_number": "+12125550123",
"short_name": "TST-ACCOUNT-01",
"status": "ACTIVE",
"subtype": "MARGIN",
"type": "CUSTOMER"
}
}Changes
- info
added the required property
////to the response with the status
- info
- breaking
the
/response's property type changed fromobjectto no type for status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added
subschema #1subschema #2to the/response propertyallOflist for the response status
- breaking