Payment Processing
Create payment intents, handle 3D Secure, and process payments with full TypeScript support.
Learn more →Refunds & Payouts
Process refunds and manage payouts to bank accounts with simple API calls.
Learn more →Analytics & Reports
Access revenue trends, payment analytics, and generate custom reports.
Learn more →Quick Start
Installation
npm install zenpays
index.ts
import { ZenPays } from 'zenpays'
const zenpays = new ZenPays({
apiKey: process.env.ZENPAYS_API_KEY!,
})
const payment = await zenpays.payments.createPaymentIntent({
amount: 5000,
currency: 'INR',
})