Create Polar Checkout
Mint a Polar-hosted checkout session for the requested SKU.
Returns the Polar url for redirect + the session_id so the frontend can poll the session-state endpoint while waiting for the webhook.
Auth: see module docstring. The credit-target identity is resolved SERVER-SIDE from auth headers or a signed checkout_token; the request body cannot stamp api_key_hash or email into Polar's metadata.
Errors: 400 — unknown SKU, body carries deprecated identity fields, no Polar product configured, or the checkout_token is bound to a different SKU 401 — no auth context 404 — tenant in X-Tenant-Id (or token) not found 503 — Polar credentials missing / API unreachable
Request
- Base URL: https://api.etymolt.com
- URL: https://api.etymolt.com/v2/billing/polar/checkout
- Auth: none declared
Headers
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.