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

# Create a Stripe Customer Portal session

`POST /v1/billing/portal-session`

## Request body

- CreatePortalSessionDto
  - `returnUrl` string, uri, required — URL to redirect to after the portal session

## Response `201`

Portal session created successfully

- PortalSessionApiResponseDto
  - `success` boolean, required — Indicates if the request was successful
  - `message` string, required — Human readable message
  - `data` object, required — Response data
    - `portalUrl` string, uri, required — Stripe portal session URL
  - `timestamp` string, date-time, required — Timestamp of the response

---

[API](https://skmtc.dev/maket/apis/virtual-architect-api.md) · [All operations](https://skmtc.dev/maket/apis/virtual-architect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/maket/virtual-architect-api/revisions/7635e6f94477/schema)
