---
title: "Retrieve list of orders"
method: GET
path: "/billing/orders/"
tags: ["order"]
---

# Retrieve list of orders

`GET /billing/orders/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/billing/orders/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `orders_access`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/billing/orders/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `state` 'purchase' | 'unpaid' | 'pending-payment' | 'canceled' | 'paid'

## Response `200`

Returns list of orders.

- OrderListResponse
  - `count` integer, required: Count of all services
  - `next` string, uri, nullable, required: Next page from pagination
  - `previous` string, uri, nullable, required: Previous page from pagination
  - `results` OrderObject[], required: List of orders
    - `id` integer, required: Order id
    - `closed_at` string, datetime, required: Date when order was closed
    - `paid_at` string, datetime, nullable, required: Date when order was paid
    - `due_at` string, datetime, nullable, required: Date when order is due
    - `total_price` string, number, required: Decimal price in USD
    - `currency` string, required: Currency of the order

## Other responses

- `400`: Query params are invalid.
- `401`: Missing or invalid authorization.
- `403`: Missing permission.

---

[API](https://skmtc.dev/angelcam/apis/angelcam-api.md) - [All operations](https://skmtc.dev/angelcam/apis/angelcam-api/llms.txt) - [OpenAPI document](https://skmtc.dev/angelcam/apis/angelcam-api/revisions/dd1cdc3f2c23?raw)
