Cancel Investment

This API will perform all of the functions necessary to fully cancel and/or refund an investment.

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API Developer API Key
tradeId yes string Trade ID generated by the API
requestedBy yes string Name of the individual filling out the return request
reason yes string Reason for the return
notes yes string Any additional information regarding the return

Sample Request

curl -X POST
-d clientID=someclientid
-d developerAPIKey=somedeveloperkey
-d tradeId=141103099
-d requestedBy=Test
-d reason=Testing  Reason
-d notes=Testing Notes
-d createdIpAddress=

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
Canceled investment details string Array of trade details

Sample Response

    "statusCode": "101",
    "statusDesc": "Ok",
    "Canceled investment details": [{
		"id": "787594",
		"developerAPIKey": "U4Msub8Kn7tkjUJ3Dv4F7kGOKyC8NAdRIjC",
		"offeringId": "52675",
		"accountId": "A11501",
		"partyId": "P56836",
		"party_type": "",
		"escrowId": null,
		"orderId": "141103099",
		"transactionType": "WIRE",
		"totalAmount": "12000.000000",
		"totalShares": "120.000000",
		"orderStatus": "FUNDED",
		"createdDate": "2017-05-17 06:25:38",
		"createdIpAddress": "",
		"errors": "",
		"documentKey": "",
		"esignStatus": "NOTSIGNED",
		"users": "",
		"archived_status": "0",
		"field1": "Account Field 1",
		"field2": "Account Field 2",
		"field3": "Account Field 3"
Click on the "Test it yourself" button to see how it works
Click on the "Error Codes" button to see list of error codes

ACH Distributions