billing

Reveal API key once after Stripe purchase (success page flow)

Given a Stripe Checkout session_id, verifies payment completion and reveals a newly-issued API key exactly once.

This is designed for a headless marketing site: Stripe success page -> calls this endpoint -> shows 'write this down' API key screen.

Security model:

  • No plaintext API key is stored long-term.
  • We store only the hashed key on the tenant.
  • If a key already exists, we refuse to reveal a new one here (use admin rotate later).
get/billing/key/reveal

Request

  • Base URL: https://catalyst.stratogenic.ai (the document declares no server; this is the origin it was published from)
  • URL: https://catalyst.stratogenic.ai/billing/key/reveal
  • Auth: none declared

Query parameters

session_idstring required

Stripe Checkout Session ID (cs_...)

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.