Skip to main content
DELETE
/
api
/
accounts
/
{accountId}
/
orders
/
{orderId}
Cancel Order
curl --request DELETE \
  --url https://trade.predexon.com/api/accounts/{accountId}/orders/{orderId} \
  --header 'x-api-key: <api-key>'
{
  "error": "insufficient_balance",
  "message": "Insufficient balance: need 50.000000, have 12.500000",
  "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Authorizations

x-api-key
string
header
required

Path Parameters

accountId
string
required
orderId
string
required

Query Parameters

venue
enum<string>
Available options:
polymarket,
predict,
opinion,
limitless,
hyperliquid

Response

Order cancelled