Complete Trade

This method is used to complete a particular Trade from Transact API. The Trade ID must be specified as a request parameter to complete trade.

Request Method : PUT

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API Developer Key
partyId yes string Party ID generated by the API
offeringId yes integer Offering ID generated by the API
tradeId yes integer Trade ID generated by the API
funds yes string Funds

Sample Request

curl -k -X PUT
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d partyId=P12345
-d offeringId=511245
-d tradeId=2354
-d funds=1000.25

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
TradeFinancialDetails string Returns the fund move description

Sample Response

    "statusCode": "101",
    "statusDesc": "Ok",
    "TradeFinancialDetails": "Fund has been moved from party account to escrow account."
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