MngGetCustomerAccounts¶
Returns trading accounts linked to customer_id.
Access Control¶
Requires CRM access and see_customers. The customer brand and desk must be inside the manager scope. Admin scope bypasses this check.
If the manager does not have see_customer_contacts, linked account email and phone are returned masked.
Request¶
{
"command": "MngGetCustomerAccounts",
"extID": "1",
"data": {
"customer_id": 1
}
}
Response Data¶
{
"rows": [
{
"login": 100001,
"customer_id": 1,
"group": "real",
"name": "John Smith",
"email": "[email protected]",
"phone": "+35700000000",
"enable": 1,
"leverage": 100
}
],
"count": 1
}