---
title: "POST /v1/billing.open_customer_portal"
method: POST
path: "/v1/billing.open_customer_portal"
tags: ["billing"]
---

# POST /v1/billing.open_customer_portal

`POST /v1/billing.open_customer_portal`

Create a billing portal session for a customer to manage their subscription.

## Headers

- `x-api-version` string, required

## Request body

- object
  - `customer_id` string, required — The ID of the customer to open the billing portal for.
  - `configuration_id` string — Stripe billing portal configuration ID. Create configurations in your Stripe dashboard.
  - `return_url` string — URL to redirect to when back button is clicked in the billing portal

## Response `200`

OK

- object
  - `customer_id` string, required — The ID of the billing portal session
  - `url` string, required — URL to the billing portal

---

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