---
title: "Request Token Purchase"
method: POST
path: "/companies/{company_id}/token-purchase-requests"
tags: ["subscriptions"]
---

# Request Token Purchase

`POST /companies/{company_id}/token-purchase-requests`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/companies/{company_id}/token-purchase-requests`
- Auth: none declared

Ask to buy more tokens. **Any member** — this is the intent path, not the purchase.

Ships ahead of payments because without it "buying unblocks" means emailing a human
who may be away, and the demand leaves no trace. An admin sees the request, records
the purchase, and the wall clears. When a payment provider arrives this is the row
that becomes the order; it is the machinery a provider replaces, not competes with.

## Path parameters

- `company_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Request body

- PurchaseRequestIn: A customer asking to buy, ahead of any payment provider (decision 4). **Bounded in both dimensions**, because the payer-keyed route beside it is reachable by any signed-in user: `units` unbounded against a BigInteger meant an int8 overflow at COMMIT — outside `Scoped.tx()`'s rollback arm, so an opaque 500 on a deactivated session rather than a 422 — and `note` unbounded against a Text column is an append-anything surface on an unpaginated admin worklist.
  - `units` integer, required
  - `note` string, nullable

## Response `201`

Successful Response

- PurchaseRequestOut
  - `id` string, required
  - `company_id` string, nullable
  - `requested_by` string, required
  - `units` integer, required
  - `note` string, nullable
  - `status` string, required
  - `created_at` string, date-time, required
  - `resolved_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
