SDKs at a glance
TagadaPay ships five SDKs plus several CLI / MCP tools. Each one targets a specific job. Use this page to pick the right one in 30 seconds.Rule of thumb: the further “down” you go in this list, the more control you get and the more code you write. Start at the top — if it covers your use case, stop there.
Decision flowchart
The five SDKs
1. @tagadapay/core-js — Browser primitives
Mental model: a thin, framework-agnostic wrapper around BasisTheory + Apple Pay + Google Pay APIs that returns a
tagadaToken. Use it whenever sensitive payment data needs to leave the browser without touching your server.
2. @tagadapay/headless-sdk — Custom checkouts
Mental model: take your existing storefront, wire a
useCheckout() hook, point it at a TagadaPay store. Cart, promotions, shipping, payment, upsells — all session-based. Internally uses core-js for tokenization.
3. @tagadapay/plugin-sdk — Plugins on the TagadaPay platform
Mental model: write a React app that runs INSIDE TagadaPay’s funnel runtime. The runtime hands you the session, the step config, the customer state — you only write the UI. Internally uses
core-js for tokenization.
4. @tagadapay/node-sdk — Server-side, the big one
Mental model: think of it as the
stripe-node of TagadaPay. Resource-keyed (tagada.payments.process(), tagada.customers.create(), etc.). The tagada.partners.* namespace covers partner provisioning end-to-end (sub-merchants, API keys, requirements, documents).
