Mpesa Payment Integration App API focussing on STK Push(Lipa na Mpesa Online) and C2B (Customer to Paybill). Built using Django and Django Rest Framework on the backend.
- Make sure you have Postman installed.
- Make a post request on the endpoint: {your_app_url}/api/submit/.
- The Body parameter should have phone_number and amount.
- Click on send button and you are done.
- Make sure you have Postman installed.
- Make a GET request on the endpoint to register the urls: {your_app_url}/api/register-urls
- Make a POST request on the endpoint to Simulate transactions: {your_app_url}/api/simulate-transactions/.
-
Confirmation Endpoint: POST Request: {your_app_url}/api/c2b-confirmation/
-
Validation Endpoint : GET Request: {your_app_url}/api/c2b-validation/
you can create django super admin to view the saved transactions.
@Happy Coding everyone!! cheers.