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

# Cancel Order

> Cancel an open order for the authenticated user



## OpenAPI

````yaml /swagger.json delete /trade/merge
openapi: 3.0.1
info:
  contact: {}
  title: VoxFi API
  version: 0.0.1
servers:
  - url: https://data-api-dev.voxfi.com.br/v1
security: []
paths:
  /trade/merge:
    delete:
      tags:
        - trade
      summary: Cancel Order
      description: Cancel an open order for the authenticated user
      parameters:
        - name: x-api-key
          in: header
          description: API Key
          required: true
          schema:
            type: string
        - name: market_id
          in: query
          description: Market ID
          schema:
            type: string
        - name: order_id
          in: query
          description: Order ID
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.CancelOrderResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                type: object
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    models.CancelOrderResponse:
      type: object
      properties:
        message:
          type: string
        success:
          type: boolean

````