post https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/getCustodyBalances
This method is used to get the Cash, Securities, and Total account values of a custody account.
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
clientID | yes | string | TransactAPI Client ID |
developerAPIKey | yes | string | TransactAPI Developer Key |
accountId | yes | string | Account ID that is generated by the API once an account is created (createAccount) |
Sample Request
curl -k -X POST https://tapi-sandboxdash.norcapsecurities.com/getCustodyBalances
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d accountId=accountId
Response Parameters
Parameter | Type | Description |
---|---|---|
statusCode | string | API Status Code |
statusDesc | string | API Status Description |
accountDetails | string |
Sample Response
{
"statusCode": "101",
"statusDesc": "Ok",
"accountDetails": {
"accountId": "A3110006",
"values": {
"BARC_account_ID": "A3110006",
"account_name": "Some Account Name",
"cash_position": 94.63,
"total_account_value": 13494.63,
"securities_position": 13400
}
}
}