Skip to main content

Get a studio membership plan

1 min read
get/profiles/{studioId}/membership/plans/{planId}
Request example
Response
get/profiles/{studioId}/membership/plans/{planId}

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#
planIdstringrequired#

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
idstringrequired#
studioIdstringrequired#
namestringrequired#
descriptionstring#
amountCentsintegerrequired#
currencyenum<string>required#
Options:eur
billingIntervalenum<string>required#
Options:monthyear
stripeProductIdstring#
stripePriceIdstring#
perksenum<string>[]required#
isActivebooleanrequired#
sortOrderintegerrequired#
createdAtstringrequired#
updatedAtstringrequired#
request_idstring#