---
title: "Create Billing Portal"
method: POST
path: "/v1/claims/my-companies/{cvr}/subscription/portal"
tags: ["internal"]
---

# Create Billing Portal

`POST /v1/claims/my-companies/{cvr}/subscription/portal`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/claims/my-companies/{cvr}/subscription/portal`
- Auth: HTTP bearer

Create a Stripe billing portal session.

The billing portal allows the owner to:
- View invoices
- Update payment method
- Cancel subscription
- Change plan

## Path parameters

- `cvr` string, required

## Request body

- AppRoutersClaimsBillingPortalRequest: Request to create a billing portal session.
  - `return_url` string, nullable

## Response `200`

Successful Response

- AppRoutersClaimsBillingPortalResponse: Response with billing portal URL.
  - `portal_url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
