---
title: "Create Fokus Checkout"
method: POST
path: "/billing/fokus/checkout"
tags: ["internal"]
---

# Create Fokus Checkout

`POST /billing/fokus/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/fokus/checkout`
- Auth: HTTP bearer

Create a Stripe checkout session for a one-off "Virksomheder i fokus"
bid. Anyone with an account can feature ANY active company - the bidder
buys placement (30 days on the rolling board), never card content.
See backend/docs/FOKUS_AUCTION.md.

## Request body

- FokusCheckoutRequest: Request to create a one-off "Virksomheder i fokus" bid checkout.
  - `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)
  - `cvr` string, required: CVR of the company the bid features
  - `amount_dkk` integer, required: Bid amount in whole DKK (VAT incl.)
  - `success_url` string, nullable: Redirect URL on success
  - `cancel_url` string, nullable: Redirect URL on cancel

## Response `200`

Successful Response

- FokusCheckoutResponse: Response with fokus bid 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)
