Installation
Install the official Node SDK.
bash
# npm
npm install settlesettle
# pnpm
pnpm add settlesettle
# yarn
yarn add settlesettleSupported environments
| Environment | Supported | Notes |
|---|---|---|
| Node.js 18+ | ✅ | Full support |
| Next.js App Router | ✅ | Server components and Route Handlers only |
| Next.js Pages Router | ✅ | getServerSideProps and API routes |
| React Native | ✅ | Use with a backend proxy — never on-device |
| Browser / Client-side | ❌ | API key would be publicly exposed |
The SDK is server-side only. Every request to SettleSettle must go through your server. If a user finds your API key, they can manipulate wallet balances on your app.
