---
title: "Your orders"
method: GET
path: "/v1/orders"
tags: ["orders"]
---

# Your orders

`GET /v1/orders`

## Request

- Base URL: `https://api.portproof.org`
- URL: `https://api.portproof.org/v1/orders`
- Auth: one of:
  - API key in cookie `pp_session`
  - HTTP bearer

Cursor-paginated: `?limit=` (default 50, max 200) and `?cursor=` from the previous `next_cursor`.

## Query parameters

- `limit` integer
- `cursor` string
- `status` 'draft' | 'awaiting_payment' | 'awaiting_kyb' | 'paid' | 'provisioning' | 'fulfilled' | 'partially_fulfilled' | 'failed_refunded' | 'cancelled' | 'refunded'
- `item_kind` 'port' | 'bandwidth' | 'topup' | 'sms' | 'esim'

## Response `200`

Default Response

- object
  - `data` object[], required
    - `id` string, required
    - `number` string, required
    - `customer_id` string, required
    - `org_id` string, required
    - `status` 'draft' | 'awaiting_payment' | 'awaiting_kyb' | 'paid' | 'provisioning' | 'fulfilled' | 'partially_fulfilled' | 'failed_refunded' | 'cancelled' | 'refunded', required
    - `subtotal_cents` integer, required
    - `discount_cents` integer, required
    - `vat_rate_bps` integer, required
    - `vat_cents` integer, required
    - `total_cents` integer, required
    - `currency` 'EUR' | 'USD', required
    - `payment_method` 'stripe' | 'coingate' | 'nowpayments' | 'wallet' | 'bank_transfer' | 'mock', required
    - `coupon_code` string, nullable, required
    - `paid_at` string, date-time, nullable, required
    - `notes` string, nullable, required
    - `invoice_url` string, nullable, required
    - `payment_url` string, uri, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `item_count` integer, required
    - `item_kinds` string[]
  - `next_cursor` string, nullable, required

## Other responses

- `401`: Default Response
- `403`: Default Response

---

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