---
title: "Create billing portal session"
method: POST
path: "/billing/portal"
tags: ["Billing"]
---

# Create billing portal session

`POST /billing/portal`

Creates a Stripe billing portal session for managing subscription

## Query parameters

- `return_url` string, required

## Response `200`

OK

- GithubComActiveloopaiDeeplakeApiInternalBillingPortalSessionResponse
  - `url` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/deeplake/apis/deeplake-api.md) · [All operations](https://skmtc.net/deeplake/apis/deeplake-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeplake/deeplake-api/revisions/e16ed11d991c/schema)
