The easiest way to integrate crypto payments into your application.
This monorepo contains:
Zero-config TypeScript SDK for ZendFi payments
npm install @zendfi/sdkCLI tool to scaffold a working ZendFi integration in 2 minutes
npx create-zendfi-app my-appProduction-ready starter templates:
- Next.js E-commerce
- Next.js SaaS
- Express API
npx create-zendfi-app my-store
cd my-store
npm run devYour payment-enabled app is now running at http://localhost:3000! 🎉
npm install @zendfi/sdkimport { zendfi } from '@zendfi/sdk';
// That's it! Auto-configured from environment
const payment = await zendfi.payments.create({
amount: 50,
description: 'Premium subscription',
});
console.log(payment.checkout_url);- Zero Configuration - Works out of the box
- Auto Environment Detection - Switches between test/prod automatically
- Built-in Retries - Handles transient errors gracefully
- Idempotency - Prevents duplicate payments automatically
- Full TypeScript Support - Complete type definitions
- Production Ready - Battle-tested best practices
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm test
# Development mode (watch)
pnpm devWe welcome contributions! Please see CONTRIBUTING.md for details.
MIT © ZendFi
Built with ❤️ by the ZendFi Team