Overview
Trust boundaries
Browser
The browser may:- fetch the public plan catalog with
pk_; - render React SDK components; and
- call your authenticated merchant routes.
Merchant backend
Your backend:- authenticates the application user;
- derives Nozle identifiers from server-owned records;
- validates plan codes and exact return origins;
- calls Nozle with a least-privilege
sk_; and - returns only the fields required by the browser.
Nozle API
The API handles:- plan catalog and subscriptions;
- payment-aware checkout and settlement transitions;
- usage events and invoice aggregation;
- product-credit grants, top-ups, transfers, and atomic consumption;
- entitlement decisions;
- cost models and margin reporting; and
- durable payment and usage-event reconciliation.