---
title: "Create Stripe billing portal session"
method: POST
path: "/subscriptions/create-portal"
tags: ["Subscriptions"]
---

# Create Stripe billing portal session

`POST /subscriptions/create-portal`

## Request

- Base URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api`
- URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/subscriptions/create-portal`
- Auth: HTTP bearer

Provide users with a self-service billing portal to manage payment methods and invoices.

## Request body

- object
  - `returnUrl` string, uri

## Response `200`

Portal session created

- object
  - `success` boolean
  - `url` string, uri

## Other responses

- `401`: Missing or invalid authentication token
- `500`: Failed to create portal session

---

[API](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api.md) · [All operations](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/revisions/53e075911af9?raw)
