---
title: "Get Billing Portal"
method: POST
path: "/api/billing/portal"
---

# Get Billing Portal

`POST /api/billing/portal`

Get Stripe billing portal URL for managing payment methods and viewing invoices

Args:
    request: Portal request with return URL
    current_user: Authenticated user
    db: Database session
    
Returns:
    BillingPortalResponse with portal URL

## Request body

- BillingPortalRequest — Request schema for billing portal
  - `returnUrl` string, required

## Response `200`

Successful Response

- BillingPortalResponse — Response schema for billing portal
  - `success` boolean
  - `url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
