Setting up M-PESA developer account

 
Objective: Learn how to create an M-Pesa developer account and obtain the necessary credentials.
  1. Visit the M-Pesa Developer Portal.
  2. Create an account or log in.
  3. Register an application to obtain:
    • Consumer Key
    • Consumer Secret
  4. Test Environment:
    • Use the sandbox URLs provided by Safaricom for testing:
      • Base URL: https://sandbox.safaricom.co.ke/
      • Production Base URL: https://api.safaricom.co.ke/