Skip to main content
POST
/
2
/
pm
/
order
/
cancel
Cancel an open 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>"
}
'
{
  "hostname": "<string>",
  "took": 123,
  "data": "<unknown>"
}
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Body

application/json
orderId
string
required
Minimum string length: 1
address
string
required
Minimum string length: 1
apiKey
string
required
Minimum string length: 1
apiSecret
string
required
Minimum string length: 1
apiPassphrase
string
required
Minimum string length: 1

Response

201 - application/json

Prediction Markets response

hostname
string
required
took
number
required
data
any | null

See the per-endpoint reference for the exact response shape.