> ## 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.

# Get one of your orders

> The order with its deposits and the callback URL it reports to. Another gateway's order is `404`.



## OpenAPI

````yaml GET /payments/merchants/me/orders/{orderId}
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/{orderId}:
    get:
      tags:
        - Orders
      summary: Get one of your orders
      description: >-
        The order with its deposits and the callback URL it reports to. Another
        gateway's order is `404`.
      operationId: getMyOrder
      parameters:
        - name: orderId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The order.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MerchantOrder'
        '401':
          description: Missing, unknown or revoked API key.
        '404':
          description: '`Order.NotFound`.'
components:
  schemas:
    MerchantOrder:
      type: object
      properties:
        order:
          $ref: '#/components/schemas/Order'
        callbackUrl:
          type: string
        deposits:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              txHash:
                type: string
              position:
                type: string
              confirmedAt:
                type:
                  - string
                  - 'null'
                format: date-time
    Order:
      type: object
      properties:
        id:
          type: string
          format: uuid
        paymentLinkId:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - AwaitingPayment
            - Confirming
            - Settled
            - Overpaid
            - Expired
            - ExpiredUnderpaid
            - ManualReview
            - Refunded
        network:
          type: string
        token:
          type: string
        decimals:
          type: integer
        depositAddress:
          type: string
        refundAddress:
          type:
            - string
            - 'null'
        expectedAmount:
          type: string
          description: Base units the payer must send.
        expectedAmountDisplay:
          type: number
          description: The same, in whole coins.
        confirmedAmount:
          type: string
        receivedAmount:
          type: string
        remainingAmount:
          type: string
        remainingAmountDisplay:
          type: number
        fiatAmount:
          type: number
        fiatCurrency:
          type: string
        rate:
          type: number
          description: Fiat per coin used for the quote.
        createdAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
        resolvedAt:
          type:
            - string
            - 'null'
          format: date-time
        deposits:
          type: array
          items:
            $ref: '#/components/schemas/Deposit'
        depositMemo:
          type:
            - string
            - 'null'
          description: >-
            XRP destination tag / Stellar memo the payment must carry, since the
            address is shared by several orders. Null on other networks. Show it
            as required.
        refundedAmount:
          type: string
          description: >-
            Refunds paid back to the payer so far, in the order's asset (base
            units). "0" when nothing was refunded.
          example: '0'
    Deposit:
      type: object
      properties:
        id:
          type: string
          format: uuid
        txHash:
          type: string
        amount:
          type: string
          description: Base units.
        token:
          type: string
        status:
          type: string
          example: Confirmed
        isLate:
          type: boolean
        isUnexpectedAsset:
          type: boolean
        resolution:
          type: string
        observedAt:
          type: string
          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.