A monorepo containing the developer toolkit and developer integrations for the Swipe V2 Partner API.
packages/sdk: The core TypeScript SDK client for the Swipe V2 Partner API, featuring auto-retries, async generators for pagination, and an automatic line-item financial calculation engine.packages/skills/swipe-partner-api: An agent skill for integrating with the Swipe V2 Partner API — covers SDK-backed resources (Customers, Products, Payments, Documents) and raw-API resources (Vendor, Inventory, Subscriptions, Ewaybill, GSTIN). Install it into any supported agent with:npx skills add farhan-alam18/swipe-developer-kit --skill swipe-partner-api
packages/cli: A CLI application built on top of the Swipe SDK.
- Node.js >= 20
- npm/pnpm
Install dependencies across the monorepo:
npm install
# or
pnpm installValidate and build all packages in the workspace:
npm validate
# or
pnpm validateFor detailed usage, configuration, and API reference, see the packages/sdk README.