Skip to main content

Reserve membership checkout intent

Creates or reuses a pending checkout intent before Stripe Checkout.
1 min read
post/profiles/{studioId}/membership/checkout
Request example
Response
post/profiles/{studioId}/membership/checkout

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#

Body

application/json
planIdstringrequired#
idempotencyKeystringrequired#
returnPathstring#

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
intentIdstringrequired#
stripeCheckoutSessionIdstring#
reusedSessionbooleanrequired#