---
title: "Create Stripe Customer Portal session"
method: POST
path: "/billing/customer-portal"
tags: ["billing"]
---

# Create Stripe Customer Portal session

`POST /billing/customer-portal`

Create a Stripe Customer Portal session for subscription self-service.

Customers can:
- Cancel subscription
- Update payment methods
- View invoices & billing history
- Update billing information

## Request body

- CustomerPortalSessionRequest
  - `return_origin` string, nullable — Browser origin for return_url after Stripe Customer Portal

## Response `200`

Customer Portal session URL

- unknown

## Other responses

- `422` — Validation Error

---

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