> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bison.markets/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Order



## OpenAPI

````yaml POST /kalshi/order/cancel
openapi: 3.0.0
info:
  version: 1.0.0
  title: Bison API
servers: []
security: []
paths:
  /kalshi/order/cancel:
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                chain:
                  type: string
                  enum:
                    - base
                    - bsc
                  description: 'Chain to execute the action on; one of: base, bsc'
                  example: base
                orderId:
                  type: string
                  description: Kalshi order ID to cancel
                  example: abc123
                userAddress:
                  type: string
                  pattern: ^0x[a-fA-F0-9]{40}$
                  description: User wallet address
                  example: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
                signature:
                  type: string
                  description: EIP-712 signature from the user authorizing the cancellation
                  example: 0x...
                expiry:
                  type: number
                  description: Unix timestamp when the authorization expires
                  example: 1234567890
              required:
                - chain
                - orderId
                - userAddress
                - signature
                - expiry
      responses:
        '200':
          description: Order cancelled successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  orderId:
                    type: string
                  message:
                    type: string
                required:
                  - success
                  - orderId
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '403':
          description: Forbidden - order does not belong to user
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '404':
          description: Order not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '500':
          description: Failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error

````