Get Account Trade History

This method is used to retrieve the information for all trades that have been created for a specific account.

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API 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://api.norcapsecurities.com/tapiv3/index.php/v3/getAccountTradeHistory
-d clientID=someclientid
-d developerAPIKey=somedeveloperkey
-d accountId=A11501

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
accountTradeDetails string Array of account trades includes all trade information of the matched account

Sample Response

{
"statusCode": "101",
"statusDesc": "Ok",
"accountDetails": [
        {
        "in_id": "787313",
        "offeringId": "44353",
        "orderId": "437616902",
        "partyId": "P56836",
        "accountId": "A11501",
        "totalAmount": "3000.000000",
        "esignStatus": "NOTSIGNED",
        "clientId": "GKrQl4m9FZ7rf3H",
        "trade_developerAPIKey": "U4Msub8Kn7tkjUJ3Dv4F7kGOKyC8NAdRIjC",
        "accountName": "John Smith",
        "accreditedStatus": "Pending",
        "kycStatus": "Manually Approved",
        "amlStatus": "Manually Approved",
        "issueName": "Test Offer For Tapi",
        "transactionType": "WIRE",
        "orderStatus": "CREATED",
        "trade_createdDate": "2017-02-03 06:34:23"
        },
    ]
}
Click on the "Test it yourself" button to see how it works
Click on the "Error Codes" button to see list of error codes

Custodial Account