Skip to content

How do I send an M-Pesa receipt for every payment?

To send a receipt for every M-Pesa payment, connect your Paybill or Till to CiraIQ with your Daraja keys. Then let an M-Pesa payment trigger create a branded PDF receipt and send it to the customer by SMS or WhatsApp within seconds. Each payment is also logged, so month-end reconciliation becomes a filter, not a scroll through your phone. Setup takes about 10 minutes from a template.

Yes. Check your M-Pesa messages, fill in a receipt book or a Word template, and send a photo or PDF to the customer. It’s free, but it’s slow, easy to forget at busy times, and your only record is the M-Pesa statement.

It can’t receipt payments that arrive at night or while you’re serving customers. It can’t keep a tidy log with the receipt number, payer and amount. And customers who need proof keep calling for receipts.

  1. Copy the template M-Pesa Receipt by SMS for Every Payment.
  2. Add your M-Pesa connection in the payment trigger: Daraja consumer key and secret, shortcode and passkey. Click Register payment notifications. See connect M-Pesa.
  3. Replace the example business in the receipt step with your name, phone and KRA PIN, and add your logo.
  4. Add your SMS keys (Africa’s Talking or Twilio), or swap the SMS step for WhatsApp.
  5. Connect Airtable (or Google Sheets) for the payments log.
  6. Publish, then pay KES 10 to your own Paybill to see it work.

Which payment messages are worth automating?

Section titled “Which payment messages are worth automating?”
  1. A receipt for every payment: M-Pesa Receipt by SMS.
  2. A check before refunding a wrong payment: M-Pesa Reversal Check for Wrong Payments.
  3. Payment prompts for online orders: M-Pesa for WooCommerce: STK Push on Every Order.
  4. Weekly payouts to staff or suppliers: M-Pesa Bulk Payment Every Friday from Airtable.

A customer pays KES 2,500 (about $19) to Amani Fresh Produce’s Paybill, account INV-1042. Within seconds:

  1. The M-Pesa Payment trigger receives the amount, the receipt number SKL4XXXXXX, the payer’s name and phone.
  2. PDF Document makes receipt RCT-1042 with the business’s KRA PIN and logo.
  3. SMS sends: “Thank you, Wanjiru. Receipt for KES 2,500: [link]”.
  4. Airtable adds a row: receipt, name, phone, amount, account and time.
  • Forgetting to register payment notifications: the trigger never hears about payments.
  • Sandbox keys in production: test in the sandbox, then switch to your live keys.
  • Not filtering failed prompts: keep Only successful payments on in the trigger.

The M-Pesa steps are on every plan. You bring your own Daraja app, and SMS is billed by your SMS provider. Read M-Pesa, documents and SMS, and for the bigger picture, how to integrate M-Pesa on the CiraIQ blog.

Questions

Does M-Pesa send customers a receipt already?

Safaricom sends the customer an M-Pesa confirmation SMS, but it is not a business receipt. It carries no business details, items or tax PIN. A branded PDF receipt is what customers ask for when they need proof for their own records.

What do I need to send M-Pesa receipts automatically?

Your Safaricom Daraja app keys for your Paybill or Till, an SMS provider (Africa's Talking or Twilio) or a linked WhatsApp, and optionally Airtable or Google Sheets to log payments.

Can the receipt show my KRA PIN?

Yes. The PDF Document step includes your business name, address, phone and tax ID, and your logo and brand colour.

Does CiraIQ hold my money?

No. Payments go straight to your own Paybill or Till through your own Daraja app. CiraIQ only hears that the payment happened.