This is a backend api service that allows you to use Mpesa stkpush to make payments
In development environment you can run on your terminal:
In development environment you can run on your terminal:
You can make payment by sending a GET request to http://localhost:8000/api/v1/payment/simulate and pass phoneNumber and amount to get above request as request parameters
http://localhost:8000/api/v1/payment/simulate/254722000000&1
Ensure you put your callback URL on your .env file in order to get your payment status