Skip to main content

Sync Connect account and fan subscription projection

Projects Stripe Connect account and profile_subscriptions state. Does not write profiles.profile_plan. Internal endpoint (cron/BFF).
1 min read
post/internal/membership/stripe/sync
Request example
Response
post/internal/membership/stripe/sync

Authorization

Authorizationstringheaderrequired#
Exact bearer configured in CRON_SECRET.

Body

application/json
eventIdstringrequired#
eventTypestringrequired#
studioIdstring#
Canonical studio id. Required unless profileId is sent.
profileIdstringdeprecated#
Legacy alias for studioId on internal membership sync only.
stripeAccountIdstring#
chargesEnabledboolean#
payoutsEnabledboolean#
detailsSubmittedboolean#
disabledReasonstring#
userIdstring#
planIdstring#
stripeSubscriptionIdstring#
stripeCustomerIdstring#
statusenum<string>#
Options:incompleteincomplete_expiredtrialingactivepast_duecanceledunpaidpaused
currentPeriodEndMsinteger#
cancelAtPeriodEndboolean#

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
duplicatebooleanrequired#
request_idstring#