createTrade

This method is used to create a trade/investment for an offering. This requires Account ID and the total number of units/shares to be purchased by the account. Creating a trade represents the intention to invest and does NOT initiate any sort of fund move. To initiate an ACH transfer for a trade, you will need to use the externalFundMove method.

Request Parameters

ParameterRequiredTypeDescription
clientIDyesstringTransactAPI Client ID
developerAPIKeyyesstringTransactAPI Developer Key
offeringIdyesstringOffering ID that is generated by the API when an offering is created (createOffering)
accountIdyesstringAccount ID of the account that is investing (this account should have one primary party)
transactionTypeyesstringTransaction Type as ACH / WIRE / CHECK / CREDITCARD / TBD / IRA / EXTERNAL CREDIT CARD / EXTERNAL ACH / NCPS CUSTODY ACCOUNT
transactionUnitsyesstringNumber of units/shares to be purchased
createdIpAddressyesstringRequested IP Address
field1nostringAdditional information relating to the trade. Custom Field 1
field2nostringAdditional information relating to the trade. Custom Field 2
field3nostringAdditional information relating to the trade. Custom Field 3
RRApprovalStatusnostring"Pending", "Approved", "Disapproved", or "Under Review"
RRNamenostringSome Text
RRApprovalDatenostringApproval Date eg: MM-DD-YYYY
PrincipalApprovalStatusnostring"Pending", "Approved", "Disapproved", or "Under Review"
PrincipalNamenostringSome Text
PrincipalDatenostringPrincipal Date eg: MM-DD-YYYY
closeIdnostringcloseId

Sample Request

curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/createTrade
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d offeringId=55591
-d accountId=A12345
-d transactionType=ACH
-d transactionUnits=20.35
-d field1= additional information1
-d field2= additional information2
-d field3= additional information3
-d RRApprovalStatus= Pending
-d RRName= Some text
-d RRApprovalDate= Approval Date
-d PrincipalApprovalStatus= Pending
-d PrincipalName= Some text
-d PrincipalDate= Principal Date
-d createdIpAddress=10.0.0.9
-d closeId=closeId

Response Parameters

ParameterTypeDescription
statusCodestringAPI Status Code
statusDescstringAPI Status Description
purchaseDetailsstringReturns an array of purchase details with transactionId, transactionAmount, transactionDate, transactionStatus

purchaseDetails ParametersTypeDescription
tradeIdstringAPI Status Code
transactionIdstringAPI Status Description
transactionAmountstringReturns an array of purchase details with transactionId, transactionAmount, transactionDate, transactionStatus
transactionDatestringDate trade was created- YYYY-MM-DD HH:MM:SS
transactionStatusstringTrade Status: CREATED | FUNDED | UNWIND PENDING | UNWIND SETTLED | SETTLED
RRApprovalStatusstring"Pending", "Approved", "Disapproved", or "Under Review"
RRNamestringSome text
RRApprovalDatestringApproval Date eg: MM-DD-YYYY
PrincipalApprovalStatusstring"Pending", "Approved", "Disapproved", or "Under Review"
PrincipalNamestringSome text
PrincipalDatestringPrincipal Date eg: MM-DD-YYYY
closeIdstringcloseId
eligibleToClosestringyes/no
notesstringsome text

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "purchaseDetails": [
        true,
        [
            {
                "tradeId": "1001349795",
                "transactionId": "1625143",
                "transactionAmount": "150.000000",
                "transactionDate": "2024-12-11 01:20:37",
                "transactionStatus": "CREATED",
                "RRApprovalStatus": "Pending",
                "RRName": null,
                "RRApprovalDate": null,
                "PrincipalApprovalStatus": "Pending",
                "PrincipalName": null,
                "PrincipalDate": null,
                "closeId": null,
                "eligibleToClose": "no",
                "notes": ""
            }
        ]
    ]
}

Test it Yourself!

Language
Click Try It! to start a request and see the response here!