npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@katorymnd/pawapay-node-sdk

v2.8.0

Published

Official Premium Node.js SDK by Katorymnd Web Solutions for PawaPay mobile money API integration.

Readme

pawaPay Node.js SDK

A professional, high-performance Node.js SDK for integrating with the pawaPay API. This SDK provides a streamlined interface for mobile money deposits, refunds, payouts, and real-time transaction verification, built for production-grade fintech applications.


🏗️ Architecture

The SDK is designed for maximum reliability and speed. It utilizes a Native Core Integration to handle complex cryptographic operations and data normalization, ensuring that your payment processing is both fast and secure across all supported environments.

Folder Structure

example/          # Implementation samples and workflows
data/             # Localized MNO & API configurations
src/              # SDK Source code
  ├── api/        # API Request wrappers
  ├── core/       # Native runtime binaries
  └── utils/      # Internal helper logic
tests/            # Automated test suites
scripts/          # SDK management utilities

🚀 Key Features

| Feature | Description | | :--- | :--- | | Native Performance | Core logic is executed via optimized native bindings. | | Hybrid V1/V2 Support | Toggle between pawaPay API V1 and V2 within the same project. | | MNO Intelligence | Automatic network availability checks before payment initiation. | | Enterprise Logging | Structured logging for successful and failed transaction flows. | | Platform Optimized | Pre-compiled for Windows, Linux, and macOS (Intel & Apple Silicon). |


📦 Installation

The SDK is cross-platform and will automatically utilize the correct native components for your specific server architecture.

npm install @katorymnd/pawapay-node-sdk
# or
pnpm add @katorymnd/pawapay-node-sdk

🛠️ Configuration (.env)

Set up your project environment with your pawaPay credentials and SDK access keys.

# .env.example
# Sandbox API token (for testing environment)
PAWAPAY_SANDBOX_API_TOKEN=your_sandbox_api_token_here

# Production API token (for live environment)
PAWAPAY_PRODUCTION_API_TOKEN=your_production_api_token_here

# License key used by the Katorymnd PawaPay SDK
KATORYMND_PAWAPAY_SDK_LICENSE_KEY=your_license_key_here

# License domain (used for license validation)
PAWAPAY_SDK_LICENSE_DOMAIN=your_license_domain_here

# License secret (used for license validation)
PAWAPAY_SDK_LICENSE_SECRET=your_license_secret_here

💻 Usage

To begin, initialize the ApiClient. The SDK will perform a quick environmental check and prepare the native core for processing.

const { ApiClient } = require('@katorymnd/pawapay-node-sdk');

const client = new ApiClient({
    apiToken: process.env.PAWAPAY_SANDBOX_API_TOKEN,
    environment: 'sandbox', 
    licenseKey: process.env.KATORYMND_PAWAPAY_SDK_LICENSE_KEY,
    apiVersion: 'v2', 
    sslVerify: false  
});

📤 Initiating a Deposit

async function handlePayment() {
    try {
        const response = await client.initiateDepositV2(
            "unique-order-id-123",
            "5000",
            "UGX",
            "256783456789",
            "MTN_MOMO_UGA",
            "Payment for Order #101"
        );
        
        console.log("Response:", response.response);
    } catch (error) {
        console.error("API Error:", error.message);
    }
}

🌍 Platform Support

The SDK includes high-performance native core support for:

  • Windows: x64 (msvc)
  • Linux: x64, arm64 (including musl for Docker/Alpine)
  • macOS: x64 (Intel), arm64 (Apple Silicon)

🔐 Licensing

This is a commercial product. The SDK is licensed per domain and requires a valid key for operation.

👉 Get a License: katorymnd.com/pawapay-payment-sdk


🆘 Support