Repository navigation
Node.js SDK 0.9.0
Node.js 0.9.0 adds selected-subscription management for the React billing portal and custom merchant backends.
subscriptionOptionsreturns the current plan, pending change and policy-authorized targets.previewSubscriptionChangereturns a signed quote with exact amounts and dates.withdrawPendingSubscriptionChangeremoves the confirmed pending change by its internal UUID.- Existing checkout/transition APIs accept the selected subscription, quote and cancellation-date guard. Checkout verification/status support customer and subscription scoping.
Install:
npm install @nozle-js/node@0.9.0Existing method calls remain compatible. Keep secret keys on the server and preserve idempotency keys for uncertain retries. The hosted API supports these flows; self-hosted deployments need the matching backend endpoints.
Validated on Node 18/20/22, including merchant integration, type and package-build checks. Published through npm trusted publishing with provenance.