---
title: "Order Record"
method: POST
path: "/admin/orders"
---

# Order Record

`POST /admin/orders`

## Request

- Base URL: `https://api.nullprint.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nullprint.ai/admin/orders`
- Auth: none declared

录收款单。自录自推:没带 confirm_self → 409 self_referral_confirm(前端弹「这是你自己推广的客户」);
带了 → 照常入账,订单标 self_referred,超管确认前不计 BD 提成。

## Request body

- OrderBody
  - `tenant_id` integer, required
  - `catalog_id` integer, nullable
  - `months` integer, required
  - `amount` union, required
    - number
    - string
  - `currency` string
  - `channel` 'alipay' | 'wechat' | 'bank' | 'usdt' | 'other', required
  - `reference` string, nullable
  - `note` string, nullable
  - `confirm_self` boolean

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nullprint/apis/nullprint-backend.md) · [All operations](https://skmtc.dev/nullprint/apis/nullprint-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/nullprint/apis/nullprint-backend/revisions/51dfcef9dce2?raw)
