internal

Create Credit Checkout

Create a Stripe checkout session for a one-time credit pack purchase.

post/billing/credits/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/credits/checkout
  • Auth: HTTP bearer

Request body

ga_client_idstring nullable

GA4 client id from the _ga cookie (analytics attribution)

ga_session_idstring nullable

GA4 session id from the ga<container> cookie (session attribution)

pack_idstring required

Credit pack ID (pack_5000, pack_25000, pack_100000)

success_urlstring nullable
cancel_urlstring nullable

Response

Successful Response

checkout_urlstring required

Changes

No recorded changes to this operation across all 2 revisions of this API.