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

# Cancel Sell transaction

> Cancels a sell transaction. This endpoint will return HTTP status <span class="value">204 No Content</span> if the sell transaction was successfully canceled. If sell transaction could not be canceled (e.g. because it has already been completed) it will return HTTP status <span class="value">409 Conflict</span>.



## OpenAPI

````yaml DELETE /v3/sell_transactions/{transactionId}
openapi: 3.0.0
info:
  title: Server to server API
  version: 1.0.0
servers:
  - url: https://api.moonpay.com
security: []
tags:
  - name: Buy transactions
  - name: Customers
  - name: Sell transactions
paths:
  /v3/sell_transactions/{transactionId}:
    delete:
      tags:
        - Sell transactions
      summary: Cancel Sell transaction
      description: >-
        Cancels a sell transaction. This endpoint will return HTTP status <span
        class="value">204 No Content</span> if the sell transaction was
        successfully canceled. If sell transaction could not be canceled (e.g.
        because it has already been completed) it will return HTTP status <span
        class="value">409 Conflict</span>.
      parameters:
        - name: transactionId
          in: path
          schema:
            type: string
          example: '123'
          description: A valid Sell transaction ID.
          required: true
      responses:
        '204':
          description: Successful response
          content:
            application/json: {}
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: A descriptive error message.
                  type:
                    type: string
                    description: An error type.
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: A descriptive error message.
                  type:
                    type: string
                    description: An error type.
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: Authorization
      in: header

````