Creates a Stripe Checkout session for subscribing to a membership tier. Returns a checkout URL to redirect the user to complete payment.Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
URL Parameters
The ID of the membership tier to subscribe to
Request Body
URL to redirect to after successful payment (optional)
URL to redirect to if checkout is cancelled (optional)
Returns
Returns a Stripe Checkout URL to complete the subscription.Error Responses
Notes
- Authorization: Any authenticated user
- Constraint: User must not already be a member of this community
- Capacity: Tier must have available spots (if member limit set)
- Status: Tier must be
active - Stripe Flow: User completes payment on Stripe Checkout page
- Free Trial: If enabled, user won’t be charged during trial period
- Shipping Address: Collected during checkout if required by tier
- Webhook: Subscription is created via Stripe webhook after successful payment

