> ## 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 v1accountshoporders 1

> One purchase and its delivery. There is deliberately no retry route: the gateway that fronts Fragment honours no idempotency key, so an ambiguous delivery is genuinely ambiguous and parks in the operator review queue rather than being retried or refunded automatically.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml get /v1/account/shop/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/account/shop/orders/{orderID}:
    get:
      tags:
        - account
      description: >-
        One purchase and its delivery. There is deliberately no retry route: the
        gateway that fronts Fragment honours no idempotency key, so an ambiguous
        delivery is genuinely ambiguous and parks in the operator review queue
        rather than being retried or refunded automatically.
      operationId: getAccountShopOrder
      parameters:
        - $ref: '#/components/parameters/OrderID'
        - in: query
          name: locale
          schema:
            type: string
            enum:
              - ru
              - en
      responses:
        '200':
          description: Order
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountShopOrder'
        '404':
          $ref: '#/components/responses/Problem'
        '503':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    OrderID:
      in: path
      name: orderID
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    AccountShopOrder:
      type: object
      required:
        - id
        - productName
        - kind
        - quantity
        - recipient
        - forSelf
        - currency
        - amounts
        - payment
        - delivery
      properties:
        id:
          type: string
          format: uuid
        productName:
          type: string
        kind:
          type: string
          enum:
            - telegram_premium
            - telegram_stars
        quantity:
          type: integer
        recipient:
          type: string
        forSelf:
          type: boolean
        currency:
          type: string
        amounts:
          type: object
          required:
            - priceMinor
            - discountMinor
            - walletMinor
            - externalMinor
            - paidMinor
          properties:
            priceMinor:
              type: integer
              format: int64
            discountMinor:
              type: integer
              format: int64
            walletMinor:
              type: integer
              format: int64
            externalMinor:
              type: integer
              format: int64
            paidMinor:
              type: integer
              format: int64
        payment:
          type: object
          required:
            - state
            - required
            - possible
          properties:
            state:
              type: string
            required:
              type: boolean
            possible:
              type: boolean
              description: >-
                An enabled provider settles this currency. False is stated
                rather than dead-ended.
        delivery:
          $ref: '#/components/schemas/AccountShopDelivery'
        createdAt:
          type: string
          format: date-time
    AccountShopDelivery:
      type: object
      required:
        - state
        - attempts
        - supportHandoff
        - supportReference
      properties:
        state:
          type: string
          enum:
            - awaiting_payment
            - queued
            - submitted
            - polling
            - delayed
            - delivered
            - needs_review
            - refunded
            - failed
            - cancelled
          description: >-
            `needs_review` is an ambiguous delivery parked for an operator.
            There is no retry route for it: the gateway honours no idempotency
            key, so retrying could deliver and charge twice.
        attempts:
          type: integer
        supportHandoff:
          type: boolean
          description: True only for needs_review and failed.
        supportReference:
          type: string
        failureReason:
          type: string
          enum:
            - retryable
            - permanent
            - recipient_invalid
            - provider_balance
            - provider_unavailable
            - ambiguous
        deliveredAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        refund:
          type: object
          required:
            - amountMinor
            - currency
          properties:
            amountMinor:
              type: integer
              format: int64
            currency:
              type: string
    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
  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.