Skip to main content
POST
/
2
/
pm
/
order
/
cancel
Cancel prediction market order
curl --request POST \
  --url https://demo-api.mobula.io/api/2/pm/order/cancel \
  --header 'Content-Type: application/json' \
  --data '
{
  "orderId": "<string>",
  "address": "<string>",
  "apiKey": "<string>",
  "apiSecret": "<string>",
  "apiPassphrase": "<string>"
}
'
{
  "data": {
    "canceled": [
      "<string>"
    ],
    "notCanceled": [
      "<string>"
    ]
  },
  "hostname": "<string>",
  "took": 123
}
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Body

application/json
orderId
string
required
address
string
required

Wallet address

apiKey
string
required
apiSecret
string
required
apiPassphrase
string
required

Response

200 - application/json

Cancel result

data
object
hostname
string
took
number