What you need
- A Stripe account with products and price IDs already created.
- A backend that can keep Licenzy API keys private.
- A stable
subject_reffor each customer or user. - A Licenzy product catalog that maps product codes to Stripe price IDs.
- Access to configure Stripe credentials in both test and live modes when needed.
- Pick the project you want to configure before creating keys, products, Stripe settings, or webhooks.
Use separate projects when you want isolated runtime workspaces for different apps, environments, or product lines under the same account.
First validation path
Before expanding the integration, prove one complete test-mode purchase path:
- Create one test product in the Licenzy portal.
- Call
POST /v1/checkout/sessionwith a fixedsubject_ref. - Complete the checkout in Stripe test mode.
- Wait for Stripe to deliver the webhook to Licenzy.
- Verify access with
POST /v1/access/check. - If applicable, consume usage with
POST /v1/usage/consume.
Use one subject ID everywhere
Checkout, customer access reads, entitlement reads and usage consumption must all use the same
subject_ref. That identifier is the key join across the runtime API.