SDKs
Official and community libraries for integrating Swell. Start with the Node.js SDK — others follow the same resource shape.
Node.js
npm
npm install @swell/sdk
import Swell from '@swell/sdk';
const swell = new Swell(process.env.SWELL_SECRET_KEY);
const payment = await swell.payments.retrieve('pay_...');Languages
Node.js (official) · Python · PHP · Go · Rust · C# — webhook verification samples in the Webhooks guide.