For the complete documentation index, see llms.txt. This page is also available as Markdown.

CancelMarketOrders

post
Authorizations
AuthorizationstringRequired
Path parameters
accountstringRequired
Header parameters
AuthorizationstringRequired
Body
chain_idstringRequired
Responses
200

Ok

application/json
successbooleanRequired
messagestringRequired
post/polymarket/{account}/cancelMarketOrders
POST /polymarket/{account}/cancelMarketOrders HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 66

{
  "chain_id": "text",
  "payload": {
    "outcomeId": "text",
    "market": "text"
  }
}
200

Ok

{
  "success": true,
  "message": "text",
  "data": {
    "success": true,
    "orderIDs": [
      "text"
    ]
  }
}