billing

Sync Checkout Session

post/api/billing/{team_key}/checkout-sync

Request

  • Base URL
    https://api.superit.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

team_keystring required

Request body

sessionIdstring required

Stripe Checkout Session id from the success URL (cs_…)

Response

Successful Response

billingStatus'pending_payment' | 'free' | 'trialing' | 'active' | 'past_due' | 'canceled' required
accessLevel'blocked' | 'full' | 'read_only' required
stripeConfiguredboolean required
hasSubscriptionboolean required
portalAvailableboolean required
cancellationAvailableboolean
checkoutAvailableboolean required

False while checkout would refuse a live subscription.

stripeSubscriptionStatusstring required
trialEndstring date-time nullable

Stripe's current trial end, updated by subscription reconciliation.

topupPaymentLinkUrlstring nullable

Stripe Payment Link for buying credit top-ups; null when top-ups aren't configured.

Changes

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