Skip to main content
The payx-node SDK provides a robust set of tools for interacting with the PayX API from your server-side applications. It handles authentication, response parsing, and error management automatically.

Installation

Install the package via NPM:

Initialization

Initialize the client with your Secret Key retrieved from the PayX Dashboard.

Collections (Requesting Payment)

To request money from a customer (Mobile Money Charge), use the charge.create method.

Payouts (Disbursements)

You can send money to any mobile money wallet using the payout.create method.

Webhook Verification

Verify that incoming webhooks are actually from PayX using our helper method.