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

# Retrieve an order

> GET /payment/orders/{order_id}/

Fetches one completed order.

<Note>
  Requires the account's billing-view permission (`BillingCanView`). Only completed orders are visible here — an incomplete order's `order_id` returns `404` (use [List orders](/api-reference/management-api/payments/orders-list)`?all=true` to see incomplete orders in list form).
</Note>

<ParamField path="order_id" type="string" required>
  The order's `order_id`, from [List orders](/api-reference/management-api/payments/orders-list).
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.scanova.io/payment/orders/ord_8f2a1c/' \
    --header 'Authorization: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": 91,
    "order_id": "ord_8f2a1c",
    "name": "Standard Plan - Annual",
    "created": "2026-08-01T09:00:00+05:30",
    "completed": "2026-08-01T09:02:11+05:30",
    "plan_extended_from": "2026-08-01T00:00:00Z",
    "plan_extended_until": "2027-08-01T00:00:00Z",
    "amount": "199.00",
    "tax": "0.00",
    "currency": "USD",
    "status": { "id": 2, "code": "completed", "name": "Completed" },
    "is_recurring": true,
    "plan": { "id": 12, "name": "Standard" },
    "pricing": { "id": 34, "period": "annual", "amount": "199.00" },
    "stripe_customer_id": "cus_ABC123",
    "stripe_charge_id": "ch_ABC123",
    "razorpay_payment_id": null,
    "amount_paid": "199.00"
  }
  ```
</ResponseExample>

`404` if `order_id` isn't owned by this account, or isn't completed.

## Related

* [List orders](/api-reference/management-api/payments/orders-list)
* [Download an invoice/receipt](/api-reference/management-api/payments/invoice-download)
* [Management API overview](/api-reference/management-api/overview) — the auth scheme and quota architecture this endpoint is part of.


## OpenAPI

````yaml api-reference/openapi/management-api.json GET /payment/orders/{order_id}/
openapi: 3.1.0
info:
  title: Scanova Management API (v2)
  description: >-
    The complete Scanova Management API — every endpoint available at
    api.scanova.io (QR codes, folders, tags, leads, forms, analytics, plans,
    shared users & roles), plus the token-creation and usage-stats endpoints
    used to authenticate against it. Every path and request/response shape below
    was verified live against a real API key and the actual running backend
    (Phase 7, 2026-08-16) — not guessed from reading urls.py alone.
  version: 2.0.0
servers:
  - url: https://api.scanova.io
    description: Management API — QR/folder/tag/lead/form/analytics/plans endpoints
security:
  - apiKeyAuth: []
paths:
  /payment/orders/{order_id}/:
    get:
      summary: Retrieve an order
      operationId: getManagedOrder
      parameters:
        - name: order_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: One completed order.
          content:
            application/json:
              example:
                id: 91
                order_id: ord_8f2a1c
                name: Standard Plan - Annual
                created: '2026-08-01T09:00:00+05:30'
                completed: '2026-08-01T09:02:11+05:30'
                plan_extended_from: '2026-08-01T00:00:00Z'
                plan_extended_until: '2027-08-01T00:00:00Z'
                amount: '199.00'
                tax: '0.00'
                currency: USD
                status:
                  id: 2
                  code: completed
                  name: Completed
                is_recurring: true
                plan:
                  id: 12
                  name: Standard
                pricing:
                  id: 34
                  period: annual
                  amount: '199.00'
                stripe_customer_id: cus_ABC123
                stripe_charge_id: ch_ABC123
                razorpay_payment_id: null
                amount_paid: '199.00'
        '404':
          description: No completed order with this order_id owned by this account.
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your Management API key as the raw value of the Authorization
        header — no "Bearer " or "Token " prefix, and no other characters.
        Example: `Authorization: 401f7ac837da42b97f613d789819ff93537bee6a`. A
        header containing more than one space-separated part is rejected
        outright. Requests also require the request's Host header to be the
        management API host (e.g. api.scanova.io) — the same key sent to the
        regular API host will not authenticate.

````