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

# Check whether a destination needs the mediator flow and/or a memo.



## OpenAPI

````yaml /api-reference/openapi.json get /{network}/mediator/check/{address}
openapi: 3.0.0
info:
  title: LumenWipe API
  description: Programmatic close-out of Stellar accounts.
  version: 0.1.0
  contact: {}
servers:
  - url: https://api.lumenwipe.com
security: []
tags:
  - name: close
    description: Build and submit an account close-out
  - name: account
    description: Read account state and conversion paths
  - name: mediator
    description: Exchange-destination forwarding
  - name: health
    description: Service health
  - name: service
    description: Service index
  - name: admin
    description: Operator-only self-serve API key management
paths:
  /{network}/mediator/check/{address}:
    get:
      tags:
        - mediator
      summary: Check whether a destination needs the mediator flow and/or a memo.
      operationId: MediatorController_check
      parameters:
        - name: network
          required: true
          in: path
          schema:
            enum:
              - testnet
              - mainnet
            type: string
        - name: address
          required: true
          in: path
          description: Destination account (G...).
          schema:
            type: string
      responses:
        '200':
          description: Mediator/memo requirements for the destination.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediatorCheckResultDto'
        '400':
          description: Invalid network or address.
        '401':
          description: Missing or invalid API key.
        '429':
          description: Rate limit exceeded for this key.
      security:
        - api-key: []
components:
  schemas:
    MediatorCheckResultDto:
      type: object
      properties:
        requiresMediator:
          type: boolean
          description: Whether closing into this destination needs the mediator flow.
        reason:
          type: string
          description: Plain-language reason for the requiresMediator value.
        requiresMemo:
          type: boolean
          description: Whether the exchange requires a deposit memo.
        memoType:
          type: string
          description: The memo type the exchange requires, or null if none/not applicable.
          enum:
            - text
            - id
            - hash
          nullable: true
        exchangeName:
          type: string
          description: >-
            The matched exchange's name, or null if the destination isn't a
            known exchange.
          nullable: true
        available:
          type: boolean
          description: >-
            Whether the server can actually perform the mediator flow (secret
            configured).
      required:
        - requiresMediator
        - reason
        - requiresMemo
        - memoType
        - exchangeName
        - available
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: opaque
      type: http
      description: Integrator API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.