Create checkout session
POST/api/billing/checkout
Creates a Polar Checkout session for the given product/price ID and returns the hosted checkout URL. Optionally accepts a discount code. The caller must be the billing account owner
Responses
- 200
- 400
- 401
- 502
Checkout URL
Missing product_id or invalid request
Unauthorized
Polar API error