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

# Get operation details

> Returns full details of a specific money transfer operation including amount breakdown, funding and payout method details, status timeline, and failure reason if applicable.



## OpenAPI

````yaml /m2m/openapi.json get /partner/operations/{operationId}
openapi: 3.0.0
info:
  title: M2M Partner API
  description: >
    REST API for M2M partner integrations. Create magic links to enable
    cross-border money transfers, manage end users, track transfer operations,
    handle CIP verification, and configure webhooks for real-time event
    notifications.


    ## Authentication


    All endpoints require an API key passed in the `X-API-Key` header. Use
    `m2m_test_*` keys for the sandbox environment.


    ## Environments


    | Environment | Base URL |

    |---|---|

    | Sandbox | `https://m2m-backend-qa.up.railway.app` |
  version: 0.5.3
  contact: {}
servers:
  - url: https://m2m-backend-qa.up.railway.app
    description: Sandbox
security: []
tags:
  - name: Partner - Magic Links
    description: Create, list, and manage magic links for money transfers
  - name: Partner - Users
    description: View and manage end users associated with your partner account
  - name: Partner - Operations
    description: Track money transfer operations and their statuses
  - name: Partner - CIP
    description: Customer Identification Program (CIP) verification management
  - name: Partner - Data Requests
    description: Fulfill data requests for additional user information
  - name: Partner - Settings
    description: Configure partner-level settings (redirect URLs, etc.)
  - name: Partner - Webhooks
    description: Configure webhook endpoints and inspect delivery history
paths:
  /partner/operations/{operationId}:
    get:
      tags:
        - Partner - Operations
      summary: Get operation details
      description: >-
        Returns full details of a specific money transfer operation including
        amount breakdown, funding and payout method details, status timeline,
        and failure reason if applicable.
      operationId: OperationsController_getOperation
      parameters:
        - name: operationId
          required: true
          in: path
          description: Unique operation identifier
          schema:
            example: op_acme_abc123
            type: string
      responses:
        '200':
          description: Operation details retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationDetailResponseDto'
        '401':
          description: Unauthorized — invalid or missing API key / bearer token
        '404':
          description: Operation not found
      security:
        - bearer: []
        - api-key: []
components:
  schemas:
    OperationDetailResponseDto:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          $ref: '#/components/schemas/OperationDetailDataDto'
      required:
        - success
        - data
    OperationDetailDataDto:
      type: object
      properties:
        operationId:
          type: string
          description: Unique operation identifier
          example: op_acme_abc123
        userId:
          type: string
          description: M2M user ID
          example: user_acme_x1y2z3
        referenceId:
          type: string
          description: Partner reference ID for the user
          example: user-12345
        linkId:
          type: string
          description: Link ID that initiated this operation
          example: link_acme_a1b2c3d4e5f6
        raasOperationId:
          type: string
          description: External RaaS operation ID for cross-referencing
          example: raas_op_xyz789
        status:
          type: string
          description: Operation status
          example: completed
          enum:
            - created
            - processing
            - completed
            - failed
            - cancelled
        funding:
          type: object
          description: Funding method details
        payout:
          type: object
          description: Payout method details
        amount:
          description: Transfer amount breakdown
          allOf:
            - $ref: '#/components/schemas/OperationAmountDto'
        createdAt:
          type: string
          description: Operation creation timestamp (ISO 8601)
          example: '2026-02-10T12:00:00.000Z'
        updatedAt:
          type: string
          description: Last update timestamp (ISO 8601)
          example: '2026-02-10T12:05:00.000Z'
        completedAt:
          type: string
          description: When the operation completed (ISO 8601)
          example: '2026-02-10T12:05:00.000Z'
        failedAt:
          type: string
          description: When the operation failed (ISO 8601)
        failureReason:
          type: string
          description: Reason for failure if the operation failed
      required:
        - operationId
        - userId
        - linkId
        - status
        - amount
        - createdAt
        - updatedAt
    OperationAmountDto:
      type: object
      properties:
        send:
          type: number
          description: Amount sent by the user in source currency
          example: 100
        receive:
          type: number
          description: Amount the recipient receives in destination currency
          example: 1725
        rate:
          type: number
          description: Exchange rate applied
          example: 17.25
        fee:
          type: number
          description: Fee charged for the transfer
          example: 3.99
        currency:
          type: object
          description: Currency information
          example:
            source: USD
            destination: MXN
      required:
        - send
        - receive
        - rate
        - fee
        - currency
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your partner API key. Use `m2m_test_*` keys for the sandbox environment.

````