---
title: "Create Report Pack Checkout"
method: POST
path: "/billing/report-pack/checkout"
tags: ["internal"]
---

# Create Report Pack Checkout

`POST /billing/report-pack/checkout`

## 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/billing/report-pack/checkout`
- Auth: HTTP bearer

Create a Stripe checkout session for a prepaid report pack.

One SKU for every tier: settings.report_pack_credits credits redeemable
across all one-off reports (kreditrapport post-gate, baggrundstjek,
brancherapport, ejendomsrapport).

## Request body

- ReportPackCheckoutRequest: Request to create a report pack checkout session.
  - `ga_client_id` string, nullable: GA4 client id from the _ga cookie (analytics attribution)
  - `ga_session_id` string, nullable: GA4 session id from the _ga_<container> cookie (session attribution)
  - `success_url` string, nullable: Redirect URL on success
  - `cancel_url` string, nullable: Redirect URL on cancel

## Response `200`

Successful Response

- ReportPackCheckoutResponse: Response with report pack checkout URL.
  - `checkout_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)
