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

# List reconciliation cases



## OpenAPI

````yaml get /v1/reconciliation-cases
openapi: 3.1.0
info:
  title: ReconLayer API
  version: 0.1.0
  summary: API-first reconciliation platform with dashboard-optional integration.
  description: >
    ReconLayer is designed to work headlessly.


    The dashboard is one consumer of this API, not the platform boundary.


    Organization resolution currently uses the `x-organization-id` header for
    development.

    In production, the intended model is:


    - dashboard requests authenticate through Clerk and the backend resolves the
    organization from the session

    - headless clients authenticate with API keys mapped to an organization

    - each API key can carry scopes for read/write/export/admin permissions


    Client write endpoints also use request-level idempotency.

    The client must generate an `Idempotency-Key` before the first attempt and

    reuse the same key on every retry of that same request.


    The route structure mirrors the domain:


    - `payment-intents` for expected payments

    - `reconciliation-cases` for reconciliation truth and workflow

    - `webhooks` for provider callbacks

    - `outbound-webhook-*` for client callback subscriptions and delivery
    tracking
servers:
  - url: https://api.reconlayer.com
security: []
tags:
  - name: dashboard
  - name: health
  - name: imports
  - name: outbound-webhooks
  - name: payment-intents
  - name: reconciliation-cases
  - name: integrations
  - name: settings
  - name: webhooks
paths:
  /v1/reconciliation-cases:
    get:
      tags:
        - reconciliation-cases
      summary: List reconciliation cases
      parameters:
        - schema:
            default: 25
            type: integer
            minimum: 1
            maximum: 100
          in: query
          name: limit
          required: true
        - schema:
            default: 0
            type: integer
            minimum: 0
            maximum: 9007199254740991
          in: query
          name: offset
          required: true
        - schema:
            type: string
            enum:
              - open
              - resolved
              - archived
          in: query
          name: status
          required: false
        - schema:
            type: string
            enum:
              - unreconciled
              - tentatively_reconciled
              - reconciled
          in: query
          name: reconciliationStatus
          required: false
        - schema:
            type: string
            minLength: 1
          in: query
          name: externalReference
          required: false
        - schema:
            type: string
            minLength: 1
          in: header
          name: authorization
          required: false
        - schema:
            type: string
            minLength: 1
          in: header
          name: x-organization-id
          required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-34'
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-98'
components:
  schemas:
    def-34:
      type: object
      required:
        - items
        - total
        - limit
        - offset
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/def-30'
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
      title: ReconciliationCaseListResponse
    def-98:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
        issues:
          type: array
          items:
            type: object
            additionalProperties: true
        details:
          type: object
          additionalProperties: true
        upstreamStatus:
          type: integer
      additionalProperties: true
      title: ApiErrorResponse
    def-30:
      allOf:
        - $ref: '#/components/schemas/def-27'
        - type: object
          required:
            - paymentIntent
            - verdict
            - unexplainedDelta
            - slaAgeMinutes
            - slaRisk
            - requiredLegsTotal
            - requiredLegsPresent
            - evidenceCoverage
            - flowLegs
          properties:
            paymentIntent:
              anyOf:
                - allOf:
                    - $ref: '#/components/schemas/def-26'
                - type: 'null'
            verdict:
              type: string
            unexplainedDelta:
              type:
                - string
                - 'null'
            slaAgeMinutes:
              type: integer
            slaRisk:
              type: boolean
            requiredLegsTotal:
              type: integer
            requiredLegsPresent:
              type: integer
            evidenceCoverage:
              type: object
              required:
                - expected
                - provider
                - chain
                - bank
                - file
              properties:
                expected:
                  type: string
                provider:
                  type: string
                chain:
                  type: string
                bank:
                  type: string
                file:
                  type: string
            flowLegs:
              type: array
              items:
                $ref: '#/components/schemas/def-31'
      title: ReconciliationCaseSummary
    def-27:
      type: object
      required:
        - id
        - organizationId
        - paymentIntentId
        - status
        - reconciliationStatus
        - expectedAmount
        - actualAmount
        - exceptionType
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
        organizationId:
          type: string
        paymentIntentId:
          type:
            - string
            - 'null'
        status:
          $ref: '#/components/schemas/def-24'
        reconciliationStatus:
          $ref: '#/components/schemas/def-25'
        expectedAmount:
          type:
            - string
            - 'null'
        actualAmount:
          type:
            - string
            - 'null'
        exceptionType:
          type:
            - string
            - 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      title: ReconciliationCaseSnapshot
    def-26:
      type: object
      required:
        - id
        - organizationId
        - externalReference
        - source
        - destination
        - paymentType
        - paymentSubtype
        - stablecoin
        - chain
        - beneficiaryAccount
        - beneficiaryName
        - status
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
        organizationId:
          type: string
        externalReference:
          type:
            - 'null'
            - string
        source:
          $ref: '#/components/schemas/def-6'
        destination:
          $ref: '#/components/schemas/def-6'
        paymentType:
          type: string
        paymentSubtype:
          type:
            - 'null'
            - string
        stablecoin:
          type:
            - 'null'
            - string
        chain:
          type:
            - 'null'
            - string
        beneficiaryAccount:
          type:
            - 'null'
            - string
        beneficiaryName:
          type:
            - 'null'
            - string
        status:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      title: PaymentIntentSnapshot
    def-31:
      type: object
      required:
        - id
        - type
        - status
        - provider
        - providerTransferId
        - txHash
        - amount
        - currency
      properties:
        id:
          type: string
        type:
          type: string
        status:
          type: string
        provider:
          type:
            - 'null'
            - string
        providerTransferId:
          type:
            - 'null'
            - string
        txHash:
          type:
            - 'null'
            - string
        amount:
          type:
            - 'null'
            - string
        currency:
          type:
            - 'null'
            - string
      title: FlowLegSummary
    def-24:
      type: string
      enum:
        - open
        - resolved
        - archived
      title: CaseStatus
    def-25:
      type: string
      enum:
        - unreconciled
        - tentatively_reconciled
        - reconciled
      title: ReconciliationStatus
    def-6:
      type: object
      required:
        - amount
        - currency
      properties:
        amount:
          type: string
        currency:
          type: string
      title: ApiMoney

````