Node SDK Quick Start
Time: ~5 minutes | Difficulty: BeginnerWhat Is the Node SDK?
The Node SDK lets you control TagadaPay from your server. Think of it as the backend counterpart to the Plugin SDK — while the Plugin SDK builds the checkout UI, the Node SDK manages everything behind it.Why use the Node SDK? If you’re an AI agent, a CI/CD pipeline, a custom backend, or just prefer code over dashboards — this is how you talk to TagadaPay programmatically.
Prerequisites
| Requirement | How to get it |
|---|---|
| Node.js 18+ | nodejs.org — run node --version to check |
| TagadaPay account | Sign up at app.tagadapay.com |
| API key | Dashboard → Settings → Access Tokens → create one |
Finding Your API Key
Your API key is a UUID (e.g.2f681d1d-xxxx-xxxx-xxxx-xxxxxxxxxxxx). To find or create one:
- Click your avatar in the top-right corner and select Settings

- Go to the Access Tokens tab and copy your API key (or click + Create Access Token to generate a new one)

Install
Initialize
tagada.<resource>.
Example: Full Checkout Setup in 7 Steps
This script creates a processor, payment flow, store, product, and funnel — activates the checkout — then generates a checkout session link. No plugin deployment needed; TagadaPay’s native checkout is auto-injected.Available Resources
Every resource follows the same patterns:list, retrieve, create, update, del.
| Resource | Examples |
|---|---|
tagada.stores | .list(), .create(...), .retrieve(id) |
tagada.products | .list(...), .create(...), .update(...) |
tagada.payments | .list(...), .process(...), .refund(...), .void(...) |
tagada.paymentFlows | .create(...), .listWithProcessors() — define how payments cascade across PSPs |
tagada.funnels | .create(...), .update(id, ...) — multi-step flows with auto-routing |
tagada.plugins | .deploy(...), .instantiate(...), .mount(...) — host pages on TagadaPay’s CDN |
tagada.subscriptions | .create(...), .cancel(...), .changeProcessor(...) |
tagada.customers | .list(...), .retrieve(id) |
tagada.orders | .list(...), .retrieve(id) |
tagada.webhooks | .create(...), .list(...) |
tagada.checkout | .createSession(...), .pay(...) — create checkout links and process payments server-side |
tagada.processors | .list(), .create(...), .retrieve(id), .update(...), .del([ids]) — manage PSP connections |
tagada.domains | .add(...), .list() |
Payment Flows: The Core of TagadaPay
TagadaPay is PSP-agnostic. You connect multiple processors (Stripe, Adyen, NMI, etc.) and define payment flows that route transactions intelligently.Error Handling
The SDK throws typed errors you can catch individually:429, 5xx, and network errors are automatic (configurable via maxRetries).
Configuration
TypeScript
Fully typed. Import any type you need:Next Steps
Multi-Stripe Routing & Vault
Connect multiple Stripe accounts, vault cards, and cascade transactions
Scripts & Pixels per Step
Add Meta, TikTok, GTM pixels and custom scripts to each funnel step
Funnel Orchestrator
Deep dive into multi-step funnels with routing, A/B testing, and analytics
Deploy & A/B Test
Deploy pages and run split tests via the REST API
API Reference
Full REST API documentation
