SDK
Integrate Nkwa Pay seamlessly into your applications with our official SDKs for multiple programming languages
SDK Integration
Nkwa Pay provides official SDKs for seamless in-app integration across multiple programming languages. These SDKs offer a convenient wrapper around our API endpoints, making it easier to integrate mobile money payments into your applications. All SDK operations mirror the functionality available in the API reference and the Nkwa Pay dashboard.
This guide demonstrates how to install, configure, and use our SDKs to process mobile money transactions in your preferred programming language.
Install Client
Install the Nkwa Pay JavaScript SDK using npm, pnpm, bun, or yarn:
Configure
Import and initialize the Nkwa Pay client:
Server Selection
You can specify a custom server URL when initializing the client:
Collect Payment
To request a payment from a customer:
Disburse Payment
To send money to a customer:
Check Payment Status
To check the status of a payment:
Check MNO Availability
To check the availability of mobile network operators:
Install Client
Install the Nkwa Pay JavaScript SDK using npm, pnpm, bun, or yarn:
Configure
Import and initialize the Nkwa Pay client:
Server Selection
You can specify a custom server URL when initializing the client:
Collect Payment
To request a payment from a customer:
Disburse Payment
To send money to a customer:
Check Payment Status
To check the status of a payment:
Check MNO Availability
To check the availability of mobile network operators:
Install Client
Install the Nkwa Pay PHP SDK with Composer:
Configure
Import and initialize the Nkwa Pay client:
Server Selection
You can specify a custom server URL when initializing the client:
Collect Payment
To request a payment from a customer:
Disburse Payment
To send money to a customer:
Check Payment Status
To check the status of a payment:
Check MNO Availability
To check the availability of mobile network operators:
Install Client
Install the Nkwa Pay Python SDK with pip or poetry:
Configure
Import and initialize the Nkwa Pay client:
Server Selection
You can specify a custom server URL when initializing the client:
Collect Payment
To request a payment from a customer:
Disburse Payment
To send money to a customer:
Check Payment Status
To check the status of a payment:
Check MNO Availability
To check the availability of mobile network operators:
Install Client
Add the Nkwa Pay Java SDK to your project:
Maven
Gradle
Configure
Import and initialize the Nkwa Pay client:
Server Selection
You can specify a custom server URL when initializing the client:
Collect Payment
To request a payment from a customer:
Disburse Payment
To send money to a customer:
Check Payment Status
To check the status of a payment:
Check MNO Availability
To check the availability of mobile network operators:
Install Client
Install the Nkwa Pay Go SDK with:
Configure
Import and initialize the Nkwa Pay client:
Server Selection
You can specify a custom server URL when initializing the client:
Collect Payment
To request a payment from a customer:
Disburse Payment
To send money to a customer:
Check Payment Status
To check the status of a payment:
Check MNO Availability
To check the availability of mobile network operators: