@usethrottle/checkout-sdk
ProductionCheckout SDK with server-side session/order helpers and a React wrapper for embedded payment.
Server helpers plus browser React component. Secret API key stays server-side.
npm install @usethrottle/checkout-sdk Throttle publishes focused packages for checkout embeds, native cart orchestration, discounts, generated REST calls, and command-line setup. Each package card calls out where it is safe to run and whether it is production-ready today.
X-Throttle-Environment-Id instead.
Checkout SDK with server-side session/order helpers and a React wrapper for embedded payment.
Server helpers plus browser React component. Secret API key stays server-side.
npm install @usethrottle/checkout-sdk React iframe components for payment-only and full checkout embeds.
Browser React component. Session creation still belongs on your backend.
npm install @usethrottle/checkout-react Typed server-side client for native carts, line items, discounts, shipping, tax, and checkout.
Server-side only. Requires a secret API key.
npm install @usethrottle/cart Headless server-side client for promotion code preview, management, and cart apply.
Server-side only. Requires a secret API key.
npm install @usethrottle/discounts Production React hooks, server proxy helpers, and primitives for buyer subscription portals.
Browser hooks through your backend proxy; server helper/client with your secret key.
npm install @usethrottle/subscriptions @usethrottle/checkout-react React hooks and server proxy for surfacing a buyer's unified invoice list — card captures, Net-N issuances, and subscription charges — in your storefront portal.
Browser hooks through your backend proxy. The server subpath holds the sk_ key; buyers never call Throttle directly.
pnpm add @usethrottle/invoices React hooks, a headless client, and a drop-in wallet component so buyers can list, add, set as default, and remove saved cards — your secret key stays server-side behind a minted client token.
Browser hooks + component gated by a server-minted client token; the server subpath holds the sk_ key. Buyers never touch the secret key.
npm install @usethrottle/payment-methods Generated TypeScript REST client for advanced endpoints that do not yet have a focused SDK.
Server-side escape hatch. Prefer checkout, cart, discounts, and subscriptions SDKs for normal storefront flows.
npm install @usethrottle/api-client Discriminated unions for every outbound webhook event + a Stripe-compatible signature verification helper.
Node 20+. Use from your webhook route handler to narrow event.data without casts.
npm install @usethrottle/webhook-types Iframe runtime bridge for extension apps, plus webhook verification helpers for extension event receivers.
Browser iframe client for createBridge(); Node route handlers can import the webhook verifier subpath.
npm install @usethrottle/extension-bridge Command-line helper for embed configuration and developer setup tasks.
Developer workstation or CI setup tool.
npm install -g @usethrottle/cli Model Context Protocol server: lets Claude and other MCP clients read your commerce data, debug checkouts, and check request shapes against the contract.
Local stdio process launched by an MCP client.
npx -y @usethrottle/mcp
For public integrations, use the @usethrottle/*
packages above. If a package is not listed here, it is not public API.
npm view @usethrottle/checkout-sdk version && npm view @usethrottle/checkout-react version && npm view @usethrottle/cart version && npm view @usethrottle/discounts version && npm view @usethrottle/subscriptions version && npm view @usethrottle/extension-bridge version