๐ณ Modular, type-safe payment gateway clients for Node.js โ with first-class TypeScript, ESM exports, and real-world API support.
@axonlabs/payments is a unified payment client library for Node.js applications โ built with TypeScript, ESM, and modern developer ergonomics in mind.
Whether you're integrating Plisio, Zarinpal (more payment clients will coming soon) this package gives you:
| Gateway | Import Path | Status |
|---|---|---|
| Plisio | @axonlabs/payments/plisio |
๐งช In progress |
| Zarinpal | @axonlabs/payments/zarinpal |
๐ง In Future |
Want to contribute a gateway? PRs are welcome!
// Plisio
import { PlisioClient } from '@axonlabs/payments/plisio';
const plisio = new PlisioClient(secret_key, "whitelabel");
// Central hub
import { Payments, AxonPayments } from '@axonlabs/payments';
const plisio1 = Payments.getPlisio(secret_key, "whitelabel");
const plisio2 = new AxonPayments().getPlisio(secret_key, "whitelabel");
Each gateway is designed to be self-contained and follow a consistent interface.
// Plisio
import { PlisioClient } from '@axonlabs/payments/plisio';
// Central hub
import { Payments, AxonPayments } from '@axonlabs/payments';
MIT ยฉ AxonJsLabs
We โค๏ธ open-source! Feel free to open issues, suggest improvements, or add new gateway clients.
npm install
npm run build
npm run test
Want to add your own gateway (e.g. NowPayments, IDPay, PayPal)? Check the lib/ folder and follow the structure.
Built with ๐ by the AxonJsLabs community