Skip to content

Pesapal-Ltd/Sample_Api3_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pesapal sample node project

This is a simple Pesapal project build on top of node. Feel free to extend on this to build your custom solution.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js
  • Git

Getting Started

Follow these steps to set up the project on your local machine.

Clone the Repository

First, clone/download zip of this repository to your local machine.

  • npm install
  • npm run start
  • npm run dev - for watch mode

By default this sample is using Kenyan demo keys. Feel to switch to any other keys of the country of your choice from the link below.

https://developer.pesapal.com/api3-demo-keys.txt

There is a dotenv file where you can easily change the keys accordingly.

I have also included a Pesapal_node_sample.postman_collection.json with api sample requests and responses for this sample to easily navigate.

For more in depth documentation on pesapal API3 integration, please refer to the link below.

https://developer.pesapal.com/how-to-integrate/e-commerce/api-30-json/api-reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors