Mode 0 — Catalog
The smallest integration your pricing page needs. Lunixi.portal.catalog() runs on a publishable key alone: no session, no customer, no backend call. Plans and branding are whatever you set in the dashboard — change a price there and this page follows immediately.
The only key involved is safe to embed in the browser: a publishable key reads the read-only catalog, cannot move money, and cannot expose customer data. What protects you is the origin allow-list you manage in the dashboard.
What to look at
- The branding panel shows the
GET /api/public/v1/subscription/brandingresponse as-is — title, subtitle, CTA, featured plan, theme, layout. All dashboard-managed. - Amounts in the plans list arrive as minor-unit integers (
49900) and are formatted for display (₺499.00). - The event log prints both raw responses.
What you need first
A publishable key from the dashboard and this page's origin on the allow-list — details in the Overview. Endpoint contracts: Pricing & Portal SDK.