getCustodyBalances

This method is used to get the Cash, Securities, and Total account values of a custody account.

Request Parameters

ParameterRequiredTypeDescription
clientIDyesstringTransactAPI Client ID
developerAPIKeyyesstringTransactAPI Developer Key
accountIdyesstringAccount 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

ParameterTypeDescription
statusCodestringAPI Status Code
statusDescstringAPI Status Description
accountDetailsstring

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "accountDetails": {
        "accountId": "A3110006",
        "values": {
            "BARC_account_ID": "A3110006",
            "account_name": "getCustodialDocuments QA 1",
            "cash_position": 94.63,
            "total_account_value": 13494.63,
            "securities_position": 13400
        }
    }
}