Generate payment link
POST/auth/subscription
Creates a Stripe Checkout session for subscribing to a plan and returns the payment URL.
Responses
- 200
- 401
- 404
- 500
Payment link successfully created.
Unauthorized Access
Customer ID not found (User might not have a Stripe customer record yet)
Something went wrong (Stripe API error or internal error)