---
title: "Billing Upgrade"
method: POST
path: "/api/billing/upgrade"
tags: ["Billing"]
---

# Billing Upgrade

`POST /api/billing/upgrade`

## Request body

- BillingUpgradeSchema — Billing update schema.
  - `user_id` string, uuid, nullable
  - `billing_type` integer, nullable

## Response `200`

Successful Response

- BillingCreateSchema — Billing Create.
  - `is_active` boolean, nullable
  - `billing_type` integer
  - `expires_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2023-11-13** `ac1f1ab68fcb` — 1 info
  - endpoint added
- **2023-11-08** `dbd91277da05` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/changes/api/billing/upgrade/post.md)

---

[API](https://skmtc.dev/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/ac1f1ab68fcb/schema)
