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

# Get a dispute

> Use this endpoint to retrieve the details of a specific dispute by its identifier, including its current state, category, and any submitted evidence.



## OpenAPI

````yaml /en/openapi/v3-current/matcher.yaml get /v1/disputes/{disputeId}
openapi: 3.1.0
info:
  title: Matcher APIs
  description: >-
    Complete API reference for the Matcher reconciliation engine, providing
    automated transaction matching between Midaz Ledger and external systems.
  version: v2.1.1
  license:
    name: Elastic License 2.0
    url: https://www.elastic.co/licensing/elastic-license
servers:
  - url: https://matcher.sandbox.lerian.net
security: []
paths:
  /v1/disputes/{disputeId}:
    get:
      tags:
        - Exception
      summary: Get a dispute
      description: >-
        Use this endpoint to retrieve the details of a specific dispute by its
        identifier, including its current state, category, and any submitted
        evidence.
      operationId: getDispute
      parameters:
        - description: A unique identifier for tracing the request across services.
          in: header
          name: X-Request-Id
          schema:
            type: string
        - description: The unique identifier of the dispute.
          in: path
          name: disputeId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved dispute
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisputeResponse'
        '400':
          description: The request contains invalid parameters or payload.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have permission to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Dispute not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    DisputeResponse:
      description: Dispute details
      properties:
        category:
          description: Category of the dispute
          enum:
            - BANK_FEE_ERROR
            - UNRECOGNIZED_CHARGE
            - DUPLICATE_TRANSACTION
            - OTHER
          example: BANK_FEE_ERROR
          type: string
        createdAt:
          description: Creation timestamp in RFC3339 format
          example: '2025-01-15T10:30:00.000Z'
          type: string
        description:
          description: Description of the dispute
          example: Transaction amount differs from expected
          type: string
        evidence:
          description: Evidence submitted for this dispute
          items:
            $ref: '#/components/schemas/EvidenceResponse'
          type: array
        exceptionId:
          description: Exception ID this dispute is for
          example: 019c96a0-10d2-7134-ba5f-664142ee7052
          type: string
        id:
          description: Unique identifier for the dispute
          example: 019c96a0-10d2-7193-8841-0d7347efd09a
          type: string
        openedBy:
          description: User who opened the dispute
          example: user@example.com
          type: string
        reopenReason:
          description: Reason for reopening if reopened
          example: New evidence discovered
          type: string
        resolution:
          description: Resolution description when closed
          example: Counterparty confirmed error
          type: string
        state:
          description: Current state
          enum:
            - DRAFT
            - OPEN
            - PENDING_EVIDENCE
            - WON
            - LOST
          example: OPEN
          type: string
        updatedAt:
          description: Last update timestamp in RFC3339 format
          example: '2025-01-15T10:30:00.000Z'
          type: string
      type: object
    ErrorResponse:
      description: Standard error response returned by all API endpoints
      type: object
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: HTTP status code as a string.
          example: '404'
        title:
          type: string
          description: Error type identifier.
          example: not_found
        message:
          type: string
          description: Human-readable error message with details.
          example: context not found
        error:
          type: string
          description: Deprecated. Error message for backward compatibility.
          deprecated: true
        details:
          description: Additional error context as key-value pairs
          additionalProperties: {}
          type: object
    EvidenceResponse:
      description: Evidence details
      properties:
        comment:
          description: Comment describing the evidence
          example: Bank statement attached
          type: string
        disputeId:
          description: Dispute ID this evidence belongs to
          example: 019c96a0-10d2-7193-8841-0d7347efd09a
          type: string
        fileUrl:
          description: URL to evidence file
          example: https://storage.example.com/evidence/doc123.pdf
          type: string
        id:
          description: Unique identifier for the evidence
          example: 019c96a0-0c0d-7915-84b9-e497bfee9916
          type: string
        submittedAt:
          description: When the evidence was submitted in RFC3339 format
          example: '2025-01-15T10:30:00.000Z'
          type: string
        submittedBy:
          description: User who submitted the evidence
          example: user@example.com
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Bearer token authentication (format: "Bearer {token}")'

````