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

# Order Detail

> Get a single order with its associated invoice and license.



## OpenAPI

````yaml GET /customer/v2/orders/{reference}
openapi: 3.0.3
info:
  title: OrbitFlare Customer API
  description: >-
    API documentation for the OrbitFlare Customer API. This API allows
    authenticated customers to manage their licenses, whitelist IPs, reset keys,
    and retrieve associated data. Supports v1 (API key only) and v2 (Bearer
    token or API key) with extended features including device/wallet auth, API
    keys management, profile, Solana USDC balance top-up, and RPC plan
    purchasing.
  version: 2.1.0
servers:
  - url: https://orbitflare.com/api
    description: OrbitFlare Production server
security:
  - api_key: []
tags:
  - name: Auth
    description: Authentication (device flow, wallet signature, session)
  - name: Licenses
    description: License management
  - name: API Keys
    description: API key management
  - name: Profile
    description: User profile and balance
  - name: Invoices
    description: Invoice listing, detail, and balance payment
  - name: Top-Up
    description: Balance top-up via Solana USDC
  - name: RPC Plans
    description: Solana RPC plan catalog
  - name: Orders
    description: Order management (validate, purchase, list)
paths:
  /customer/v2/orders/{reference}:
    parameters:
      - name: reference
        in: path
        description: Order reference (e.g. ORD-ABC123).
        required: true
        schema:
          type: string
    get:
      tags:
        - Orders
      summary: Order Detail
      description: Get a single order with its associated invoice and license.
      operationId: getOrder
      responses:
        '200':
          description: Order retrieved.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                  data:
                    $ref: '#/components/schemas/OrderDetailed'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2ErrorResponse'
        '403':
          description: Unauthorized access to this order.
        '404':
          description: Order not found.
      security:
        - bearer_token: []
        - api_key: []
components:
  schemas:
    OrderDetailed:
      type: object
      properties:
        reference:
          type: string
        status:
          type: string
        payment_status:
          type: string
        payment_method:
          type: string
        product:
          type: object
          nullable: true
          properties:
            name:
              type: string
            slug:
              type: string
        billing_period:
          type: string
        total_amount:
          type: number
          format: float
        pricing_breakdown:
          type: object
          nullable: true
        placed_at:
          type: string
          format: date-time
          nullable: true
        paid_at:
          type: string
          format: date-time
          nullable: true
        fulfilled_at:
          type: string
          format: date-time
          nullable: true
        invoice:
          type: object
          nullable: true
          properties:
            reference:
              type: string
            status:
              type: string
            billing_total:
              type: number
              format: float
        license:
          type: object
          nullable: true
          properties:
            key:
              type: string
            slug:
              type: string
            status:
              type: string
            renewal_date:
              type: string
              format: date-time
    V2ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
        errors:
          type: object
        error:
          type: string
          description: Error code (e.g. authorization_pending, slow_down)
  securitySchemes:
    api_key:
      type: apiKey
      name: X-ORBIT-KEY
      in: header
      description: API key for v1 and v2 (when not using Bearer token)
    bearer_token:
      type: http
      scheme: bearer
      bearerFormat: Sanctum
      description: Bearer token from device or wallet auth

````