---
title: "Create Coupon"
method: POST
path: "/api/admin/coupons"
tags: ["admin-coupons"]
---

# Create Coupon

`POST /api/admin/coupons`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/coupons`
- Auth: HTTP bearer

Create a new coupon.

## Request body

- CouponCreateRequest: Create a new coupon.
  - `code` string, required
  - `description` string, nullable
  - `coupon_type` string, required
  - `credit_amount` integer, nullable
  - `discount_percent` integer, nullable
  - `discount_months` integer, nullable
  - `waiver_plan` string, nullable
  - `waiver_months` integer, nullable
  - `trial_extension_days` integer, nullable
  - `max_redemptions` integer, nullable
  - `eligible_plans` string[], nullable
  - `min_plan` string, nullable
  - `new_users_only` boolean
  - `expires_at` string, date-time, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
