---
search:
  tags:
    - Billing
    - POST
seo:
  description: >-
    Plan switching (self_serve is never offered as a switch target — see…
    Reference for the POST /billing/portal-link endpoint in the Sarvex V1 API.
sidebar:
  label: Create a Stripe Customer Portal link
  badge: POST
title: Create a Stripe Customer Portal link
type: openapi-operation
---
Plan switching (self_serve is never offered as a switch target — see
sarvex-v1-architecture.md §Domain 8) and cancellation happen inside
this portal session, alongside payment-method and invoice management.
There is no separate checkout-based upgrade endpoint: every merchant
already has a subscription from account creation, so an upgrade is a
price change on the existing subscription — exactly what the portal's
subscription-update feature does.

`POST /billing/portal-link`
