Cancel an open Kalshi order and sync the cancellation back to the platform database.
orderId or upstream venueOrderId, and updates the record in the platform database to CANCELED.
| Field | Type | Required | Description |
|---|---|---|---|
venue | string | No | default kalshi |
orderId | string | Conditional | local order id |
venueOrderId | string | Conditional | upstream order id |
walletAddress | string | Yes | Solana wallet |
reason | string | No | cancel reason |
orderId and venueOrderId must provide at least one.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.