> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get v1panelfinanceorders 1

> Requires finance.read. Payment intents with their event timeline and every refund. The raw provider payload is deliberately absent; it is reachable through the webhook diagnostics with its own permission.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml get /v1/panel/finance/orders/{orderID}
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/panel/finance/orders/{orderID}:
    get:
      tags:
        - panel
      description: >-
        Requires finance.read. Payment intents with their event timeline and
        every refund. The raw provider payload is deliberately absent; it is
        reachable through the webhook diagnostics with its own permission.
      operationId: getPanelOrderDetail
      parameters:
        - $ref: '#/components/parameters/OrderID'
      responses:
        '200':
          description: Order timeline
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PanelOrderDetail'
        '403':
          $ref: '#/components/responses/Problem'
        '404':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    OrderID:
      in: path
      name: orderID
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    PanelOrderDetail:
      type: object
      required:
        - order
        - intents
        - refunds
      properties:
        order:
          $ref: '#/components/schemas/PanelOrderSummary'
        intents:
          type: array
          nullable: true
          items:
            $ref: '#/components/schemas/PanelPaymentIntent'
        refunds:
          type: array
          nullable: true
          items:
            $ref: '#/components/schemas/PanelRefund'
    PanelOrderSummary:
      type: object
      required:
        - id
        - state
        - operation
        - currency
        - subtotalMinor
        - discountMinor
        - walletMinor
        - externalMinor
        - paidMinor
        - refundedMinor
        - customerId
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          format: uuid
        state:
          type: string
        operation:
          type: string
        currency:
          type: string
        subtotalMinor:
          type: integer
          format: int64
        discountMinor:
          type: integer
          format: int64
        walletMinor:
          type: integer
          format: int64
        externalMinor:
          type: integer
          format: int64
        paidMinor:
          type: integer
          format: int64
        refundedMinor:
          type: integer
          format: int64
        customerId:
          type: string
          format: uuid
        subscriptionId:
          type: string
          format: uuid
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    PanelPaymentIntent:
      type: object
      required:
        - id
        - provider
        - status
        - amountMinor
        - currency
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          format: uuid
        provider:
          type: string
        status:
          type: string
        amountMinor:
          type: integer
          format: int64
        currency:
          type: string
        providerReference:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        events:
          type: array
          nullable: true
          items:
            $ref: '#/components/schemas/PanelPaymentEvent'
    PanelRefund:
      type: object
      required:
        - id
        - paymentIntentId
        - status
        - amountMinor
        - currency
        - reason
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          format: uuid
        paymentIntentId:
          type: string
          format: uuid
        status:
          type: string
        amountMinor:
          type: integer
          format: int64
        currency:
          type: string
        reason:
          type: string
        providerReference:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
    PanelPaymentEvent:
      type: object
      required:
        - type
        - occurredAt
      properties:
        type:
          type: string
        previousStatus:
          type: string
        status:
          type: string
        amountMinor:
          type: integer
          format: int64
        currency:
          type: string
        occurredAt:
          type: string
          format: date-time
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

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