---
title: "POST /usage/subscription-tier/"
method: POST
path: "/usage/subscription-tier/"
tags: ["usage"]
---

# POST /usage/subscription-tier/

`POST /usage/subscription-tier/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/usage/subscription-tier/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- UsageSubscriptionTier
  - `id` integer
  - `name` 'free' | 'basic' | 'basic_yearly' | 'custom'
  - `description` string, required
  - `stripe_price_id` string, nullable
  - `wallet_refill_amount` string, decimal, nullable: Amount to refill the wallet every month.

## Response `200`

OK

- SubscriptionTierDetailResponse
  - `status` boolean, required
  - `result` UsageSubscriptionTier, required
    - `id` integer
    - `name` 'free' | 'basic' | 'basic_yearly' | 'custom'
    - `description` string, required
    - `stripe_price_id` string, nullable
    - `wallet_refill_amount` string, decimal, nullable: Amount to refill the wallet every month.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
