---
title: "Purchase static proxies"
method: POST
path: "/static/purchase"
tags: ["Static Proxies"]
---

# Purchase static proxies

`POST /static/purchase`

Creates an invoice for static proxy purchases.

## Request body

- object
  - `network` 'isp', required
  - `location` string, required — Location identifier (e.g. `us`, `uk`)
  - `duration` 30 | 60 | 90, required — Subscription duration in days
  - `quantity` integer, required

## Response `201`

Invoice created

- Invoice
  - `id` integer
  - `description` string
  - `status` 'new' | 'paid' | 'failed' | 'cancelled'
  - `total` number, float
  - `due_date` integer — Unix timestamp (UTC)
  - `created_at` integer
  - `items` InvoiceItem[]
    - `product_type` 'credit' | 'metered_plan' | 'metered_data' | 'static_proxies' | 'unlimited_plan'
    - `name` string
    - `price_per_unit` number, float
    - `quantity` integer

## Other responses

- `409` — Insufficient stock

---

[API](https://skmtc.dev/proxiware/apis/proxiware-api.md) · [All operations](https://skmtc.dev/proxiware/apis/proxiware-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/proxiware/proxiware-api/revisions/4e98e5b8cc44/schema)
