---
title: "Create Plan Option"
method: POST
path: "/api/v1/admin/plans/{plan_id}/options"
tags: ["Admin - Plans", "Admin - Plans"]
---

# Create Plan Option

`POST /api/v1/admin/plans/{plan_id}/options`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/admin/plans/{plan_id}/options`
- Auth: none declared

Create a billing option for a plan

## Path parameters

- `plan_id` integer, required

## Headers

- `x-admin-key` string, nullable

## Request body

- PlanOptionCreate: Schema for creating a plan option
  - `billing_period` string, required
  - `billing_interval_count` integer
  - `price` union, required
    - number
    - string
  - `currency` string
  - `display_name` string, nullable
  - `savings_text` string, nullable
  - `trial_period_days` integer
  - `gateway_data` object, nullable

## Response `201`

Successful Response

- PlanOptionResponse: Plan option response
  - `id` integer, required
  - `plan_id` integer, required
  - `billing_period` string, required
  - `billing_interval_count` integer, required
  - `price` string, required
  - `currency` string, required
  - `display_name` string, nullable, required
  - `savings_text` string, nullable, required
  - `trial_period_days` integer, required
  - `gateway_data` object, nullable, required
  - `is_active` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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