Creates a checkout session for a customer to subscribe to a plan. Returns a URL to redirect the customer to for payment. After successful payment, the customer is subscribed to the plan and gains access to its entitlements.
API key authentication. Include your API key in the Authorization header as: Bearer
Create a checkout session for a customer to subscribe to a plan. For plan changes on existing subscriptions, customers should use the billing portal.