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

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
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d offeringId=55593

Response Parameters

statusCodestringAPI Status Code
statusDescstringAPI Status Description
offeringIdstringReturns the Closed Offering ID

Sample Response

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

Test it Yourself!

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