> ## 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 an order

> The order's current status, amounts and deposits. Public: no API key needed.

Follow a payment while the payer is on your page. Fulfil purchases from [webhooks](https://docs.paywire.xyz/guides/webhooks.md), not from polling.


## OpenAPI

````yaml GET /payments/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/orders/{orderId}:
    get:
      tags:
        - Orders
      summary: Get an order
      description: >-
        The order's current status, amounts and deposits. Public: no API key
        needed.
      operationId: getOrder
      parameters:
        - name: orderId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The order.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
              example:
                id: 0193a0c5-0a1b-7c2d-8e3f-4a5b6c7d8e9f
                paymentLinkId: 0193a0c4-5f2e-7c1d-9b8a-3e4f5a6b7c8d
                status: Settled
                network: solana_devnet
                token: native
                decimals: 9
                depositAddress: 8xKq3nV5pQ2rL7mT9wY4bF6hJ1dS3aZ8cX5vN2eR7uK
                refundAddress: null
                expectedAmount: '301204819'
                expectedAmountDisplay: 0.301204819
                confirmedAmount: '301204819'
                receivedAmount: '301204819'
                remainingAmount: '0'
                remainingAmountDisplay: 0
                fiatAmount: 49.9
                fiatCurrency: USD
                rate: 165.67
                createdAt: '2026-10-24T09:13:05.118Z'
                expiresAt: '2026-10-24T09:33:05.118Z'
                resolvedAt: '2026-10-24T09:16:02.511Z'
                deposits:
                  - id: 0193a0c7-3c4d-7e5f-8a6b-7c8d9e0f1a2b
                    txHash: >-
                      5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW
                    amount: '301204819'
                    token: native
                    status: Confirmed
                    isLate: false
                    isUnexpectedAsset: false
                    resolution: None
                    observedAt: '2026-10-24T09:14:11.902Z'
        '404':
          description: No such order.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
              example:
                title: Order.NotFound
                status: 404
                detail: No order with this id.
      security: []
components:
  schemas:
    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'
    Problem:
      type: object
      description: RFC 7807 problem details. `title` is a stable error code.
      properties:
        type:
          type: string
        title:
          type: string
          example: PaymentLink.NotFound
        status:
          type: integer
        detail:
          type: string
    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.