/nodejs-b2c-mpesa-api

Full functional b2c functionality on a node.js REST API

Primary LanguageJavaScript

B2c Mpesa API using Node.js

  • Clone the repository.

  • Ensure that you have the following installed on your computer:

  • Install the dependencies by running the following command from the terminal of your text editor:

npm install
  • Start the development server by running the following command:
npm run dev
  • On a separate tab, start ngrok by running the following command:
npm run ngrok
  • Copy the HTTPS URL logged on your console and paste it appropriately on your .env file.

  • Consume the functionalities from here

  • Congratulations !!!