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

# List your orders

> Your gateway's orders, newest first. The gateway is always the one the API key belongs to.



## OpenAPI

````yaml GET /payments/merchants/me/orders
openapi: 3.1.0
info:
  title: Paywire API
  version: 1.0.0
  description: >-
    Accept crypto payments: create payment links, follow orders, receive signed
    webhooks.
servers:
  - url: https://api.staging.paywire.xyz
    description: Staging (testnets)
security:
  - apiKey: []
tags:
  - name: Payment links
  - name: Orders
  - name: Account
  - name: Webhooks
paths:
  /payments/merchants/me/orders:
    get:
      tags:
        - Orders
      summary: List your orders
      description: >-
        Your gateway's orders, newest first. The gateway is always the one the
        API key belongs to.
      operationId: listMyOrders
      parameters:
        - name: status
          in: query
          schema:
            type: array
            items:
              type: string
          style: form
          explode: true
          description: Repeat for several, e.g. `?status=Settled&status=Overpaid`.
        - name: network
          in: query
          schema:
            type: string
        - name: token
          in: query
          schema:
            type: string
        - name: from
          in: query
          schema:
            type: string
            format: date-time
          description: Created at or after.
        - name: to
          in: query
          schema:
            type: string
            format: date-time
          description: Created before (exclusive).
        - name: search
          in: query
          schema:
            type: string
          description: Order id, deposit address or transaction hash.
        - name: page
          in: query
          schema:
            type: integer
            default: 1
        - name: pageSize
          in: query
          schema:
            type: integer
            default: 25
            maximum: 100
      responses:
        '200':
          description: A page of orders.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderPage'
        '401':
          description: Missing, unknown or revoked API key.
components:
  schemas:
    OrderPage:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/OrderListItem'
        page:
          type: integer
        pageSize:
          type: integer
        total:
          type: integer
    OrderListItem:
      type: object
      properties:
        id:
          type: string
          format: uuid
        merchantId:
          type: string
          format: uuid
        merchantName:
          type: string
        paymentLinkId:
          type: string
          format: uuid
        status:
          type: string
          example: Settled
        network:
          type: string
        token:
          type: string
        decimals:
          type: integer
        expectedAmount:
          type: string
          description: Base units.
        expectedAmountDisplay:
          type: number
        receivedAmount:
          type: string
          description: Base units.
        fiatAmount:
          type: number
        fiatCurrency:
          type: string
        depositAddress:
          type: string
        needsReview:
          type: boolean
        createdAt:
          type: string
          format: date-time
        resolvedAt:
          type:
            - string
            - 'null'
          format: date-time
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Your gateway's API key (`w3g_...`).

````

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