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

# List orders

> GET /payment/orders/

Lists the account's orders — by default only **completed** orders; pass `?all=true` to include incomplete ones too.

<Note>
  Requires the account's billing-view permission (`BillingCanView`).
</Note>

<ParamField query="all" type="boolean">
  Set to `true` to include incomplete orders alongside completed ones. Omit (or any other value) for completed-only.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.scanova.io/payment/orders/' \
    --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>

Response is not paginated. `stripe_customer_id`/`stripe_charge_id`/`razorpay_payment_id` are `null` for whichever gateway wasn't used for that order.

## Related

* [Retrieve an order](/api-reference/management-api/payments/order-retrieve)
* [List payment history](/api-reference/management-api/payments/payment-list)
* [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/
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/:
    get:
      summary: List orders
      description: >-
        By default only completed orders; pass ?all=true to include incomplete
        ones.
      operationId: listManagedOrders
      parameters:
        - name: all
          in: query
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: Orders.
          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'
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.

````