---
title: "Admin Create Promo Code"
method: POST
path: "/api/payments/admin/promo-codes"
tags: ["payments"]
---

# Admin Create Promo Code

`POST /api/payments/admin/promo-codes`

## Request

- Base URL: `https://bizclaw.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://bizclaw.xyz/api/payments/admin/promo-codes`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

## Request body

- PromoCreateRequest
  - `code` string, required
  - `discountPercent` integer, required
  - `maxUses` integer, required
  - `expiresAt` string, date-time, nullable
  - `isActive` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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