subscriptions

Create Checkout Session

Changed on

Create a Stripe Checkout session for a new subscription (Founder or Light).

post/conglomerates/{conglomerate_id}/checkout-session

Request

  • Base URL: https://api.nanocorp.so (the document declares no server; this is the origin it was published from)
  • URL: https://api.nanocorp.so/conglomerates/{conglomerate_id}/checkout-session
  • Auth: HTTP bearer

Path parameters

conglomerate_idstring uuid required

Headers

X-Posthog-Session-Idstring nullable
X-Client-Mobilestring nullable
X-Meta-Fbcstring nullable
X-Meta-Fbpstring nullable
X-Meta-Source-Urlstring nullable
X-Tiktok-Ttclidstring nullable
X-Tiktok-Ttpstring nullable
X-Tiktok-Click-Timestring nullable

Request body

creditsinteger nullable
company_idstring uuid nullable
plan'founder' | 'light'

Response

Successful Response

checkout_urlstring required

Changes

    • info

      added the new optional header request parameter X-Tiktok-Click-Time

    • info

      added the new optional header request parameter X-Tiktok-Ttclid

    • info

      added the new optional header request parameter X-Tiktok-Ttp

    • info

      added the new optional header request parameter X-Meta-Fbc

    • info

      added the new optional header request parameter X-Meta-Fbp

    • info

      added the new optional header request parameter X-Meta-Source-Url