---
title: "Billing Portal"
method: POST
path: "/api/billing/portal"
tags: ["billing"]
---

# Billing Portal

`POST /api/billing/portal`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/billing/portal`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Create a Stripe Billing Portal session.

## Request body

- BillingPortalRequest: Request to create a billing portal session.
  - `return_url` string, nullable

## Response `200`

Successful Response

- BillingPortalResponse: Billing portal response.
  - `portal_url` string, required

## Other responses

- `422`: Validation Error

---

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