Creates a Stripe checkout session and returns the full session object. The client should redirect the user to the session URL to complete payment.
JWT token passed in x-access-token header
Stripe price ID to subscribe to
"price_1234567890"
Set to 'true' to enable a trial period on the subscription
"true"
Stripe checkout mode (defaults to 'subscription')
subscription, payment "subscription"
Institution ID to associate with the subscription (falls back to user's institution)
Plan identifier
Checkout session created successfully. Returns the full Stripe checkout session object.
Full Stripe Checkout Session object (see Stripe API docs)