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

# List partner orders



## OpenAPI

````yaml /api-reference/openapi.yaml get /me/orders
openapi: 3.1.0
info:
  title: Privata Wallet API
  version: 1.2.0
  summary: REST API for integrating Privata swap aggregator into crypto wallets.
  description: |
    Privata is a non-custodial swap aggregator. Wallets call this API to fetch
    quotes from 50+ providers, create exchange orders with deposit addresses,
    and track order lifecycle via webhooks or Server-Sent Events.

    Wire format is snake_case. The official JS/TS SDK (`@privata/wallet-api`)
    exposes camelCase and handles the conversion at the SDK boundary.
  contact:
    name: Privata partner support
    email: partners@privataswap.com
    url: https://docs.privataswap.com
  license:
    name: Proprietary
servers:
  - url: https://api.privataswap.com/partner/v1
    description: Production
  - url: https://api.privataswap.com/v2/exchange
    description: ChangeNOW-compatible layer (legacy clients)
security:
  - apiKey: []
tags:
  - name: Public
    description: Read endpoints. Work without an API key at lower rate-limit.
  - name: Orders
    description: Create and track exchange orders.
  - name: Refunds
    description: Refund capability and partner-confirmed refund actions.
  - name: Streaming
    description: SSE event stream for order status.
  - name: Webhooks
    description: Outbound HTTP callbacks to your endpoint.
  - name: Partner
    description: Self-service stats and history for the authenticated partner.
  - name: Health
    description: Uptime probe surface.
paths:
  /me/orders:
    get:
      tags:
        - Partner
      summary: List partner orders
      parameters:
        - in: query
          name: from
          schema:
            type: string
            format: date
        - in: query
          name: to
          schema:
            type: string
            format: date
        - in: query
          name: status
          schema:
            type: string
        - in: query
          name: page
          schema:
            type: integer
            default: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  page:
                    type: integer
                  total:
                    type: integer
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Order'
components:
  schemas:
    Order:
      type: object
      properties:
        order_id:
          type: string
          example: prv-9f0e...
        provider_order_id:
          type: string
        from:
          type: string
        to:
          type: string
        amount_from:
          type: string
        amount_to_expected:
          type: string
        amount_to_actual:
          type: string
          nullable: true
        deposit_address:
          type: string
        deposit_extra_id:
          type: string
          nullable: true
        payout_address:
          type: string
        status:
          type: string
          enum:
            - waiting_deposit
            - confirming
            - exchanging
            - sending
            - completed
            - failed
            - expired
            - refund_required
            - refunded
            - manual_review
        failed_reason_code:
          type: string
          nullable: true
          enum:
            - kyt_block
            - amount_out_of_range
            - rate_changed
            - provider_timeout
            - provider_internal
            - underpayment
            - overpayment
            - network_congestion
            - unknown
        failed_reason_message:
          type: string
          nullable: true
        refund_capability:
          type: string
          enum:
            - programmatic
            - ticket
            - none
        refund_window_hours:
          type: integer
          nullable: true
        refund_sla_hours:
          type: integer
          nullable: true
        tx_in_hash:
          type: string
          nullable: true
        tx_out_hash:
          type: string
          nullable: true
        expires_at:
          type: string
          format: date-time
        created_at:
          type: string
          format: date-time
        tracking_url:
          type: string
          format: uri
          description: Signed URL with embedded HMAC token. Do not modify.
        timeline:
          type: array
          items:
            type: object
            properties:
              status:
                type: string
              at:
                type: string
                format: date-time
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Partner API key issued in the dashboard. Use `pk_live_...` in
        production, `pk_test_...` against sandbox.

````