lloza
Login
Tilloza Help & Reference Manual

Operational Documentation

Read comprehensive guides to quickly setup SAFARICOM payments APIs, configure local thermal POS registers, map eTIMS tax lists, or load inventories in bulk.

Category: mpesa setup manual

Integrating safaricom Daraja M-Pesa STK Push

Automate cashier payment triggers by creating secure callbacks on Daraja Developer Portal.

Last documentation update: June 2, 2026

Integration Walkthrough Steps

  1. 1Navigate to Developer portal: https://developer.safaricom.co.ke/ and sign up for a Developer Profile.
  2. 2Create a New App under the Sandbox or Production tab (enable Lipa Na M-Pesa sandbox APIs).
  3. 3Acquire your Consumer Key, Consumer Secret, and Shortcode (e.g., Till Number or Paybill Number).
  4. 4Retrieve your Lipa Na M-Pesa Online Passkey (typically a 64-character hex string).
  5. 5Input these parameters in Tilloza Settings > Integrations > Payments. Click "Test Connection" to trigger a KSh 1 trial phone prompt.
configuration spec: json
{
  "BusinessShortCode": "174379",
  "Password": "MTc0Mzc5YmZiMjc5ZjlhYW...",
  "Timestamp": "20260609172033",
  "TransactionType": "CustomerPayBillOnline",
  "Amount": 1,
  "PartyA": "254711223344",
  "PartyB": "174379",
  "PhoneNumber": "254711223344",
  "CallBackURL": "https://api.tilloza.com/v1/mpesa-callback",
  "AccountReference": "TillozaTill01",
  "TransactionDesc": "Till Payment Register"
}

Important Deployment Checklist Tips

  • ▪Never share your production M-Pesa Passkey with cashiers. Only administrators hold access rights.
  • ▪Always use Business Store Till Number (Buy Goods) instead of a standard personal line for zero customer withdrawal transaction costs.
All documentation
KRA Pin & Safaricom API assistance

Stuck with Daraja sandbox or eTIMS VSCU status?

Safaricom credentials and local electronic tax invoicing configurations can sometimes feel complicated. Tilloza core developers provide 1-on-1 virtual pairing calls completely free during your trial setup.

Contact Developer support