Skip to main content
DELETE
/
portfolio
/
events
/
orders
/
{order_id}
Cancel Order (V2)
curl --request DELETE \
  --url https://external-api.kalshi.com/trade-api/v2/portfolio/events/orders/{order_id} \
  --header 'KALSHI-ACCESS-KEY: <api-key>' \
  --header 'KALSHI-ACCESS-SIGNATURE: <api-key>' \
  --header 'KALSHI-ACCESS-TIMESTAMP: <api-key>'
{
  "order_id": "3b23c1c7-f4ef-4f0d-8b9a-9e53c61f1a0d",
  "client_order_id": "8c35ecb3-328f-4f52-8c7c-0f4b9862f8d1",
  "reduced_by": "10.00",
  "ts_ms": 1715793660456
}
Rate limit: 2 tokens per request. See GET /trade-api/v2/account/endpoint_costs for current non-default endpoint costs.

Authorizations

KALSHI-ACCESS-KEY
string
header
required

Your API key ID

KALSHI-ACCESS-SIGNATURE
string
header
required

RSA-PSS signature of the request

KALSHI-ACCESS-TIMESTAMP
string
header
required

Request timestamp in milliseconds

Path Parameters

order_id
string
required

Order ID

Query Parameters

subaccount
integer

Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.

exchange_index
integer

Identifier for an exchange shard. Defaults to 0 if unspecified. Note: currently only 0 supported.

Example:

0

Response

Order cancelled successfully

order_id
string
required
reduced_by
string
required

Number of contracts that were canceled (i.e. the remaining count at time of cancellation).

Example:

"10.00"

ts_ms
integer<int64>
required

Matching engine timestamp at which the cancellation was processed, as Unix epoch milliseconds.

client_order_id
string