closeOffering

This method closes the offering and moves all trades marked as "Funded" to a "Settled" status. The offering can only be closed once all funding activity has been completed.

Request Parameters

ParameterRequiredTypeDescription
clientIDyesstringTransactAPI Client ID
developerAPIKeyyesstringTransactAPI Developer Key
offeringIdyesstringOffering ID that is generated by the API when an Offering is created (createOffering) of the offering that is to be closed.

Sample Request

curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/closeOffering
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d offeringId=55593

Response Parameters

ParameterTypeDescription
statusCodestringAPI Status Code
statusDescstringAPI Status Description
offeringIdstringReturns the Closed Offering ID

Sample Response

{
  "statusCode": "101",
  "statusDesc": "Ok",
  "OfferID": "59663"
}

Test it Yourself!

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