How do I set up the M-Pesa Reversal Check for Wrong Payments template?
To set up M-Pesa Reversal Check for Wrong Payments, open the template, click Use this template, connect M-Pesa, SMS and WhatsApp, fill in your own details, run a test and publish. It takes about 15 minutes and is made for the Basic plan.
What it does: A customer says they paid the wrong amount or paid twice. Send their M-Pesa receipt from your support form, and the workflow checks the transaction with Safaricom. If it is genuine and the amount matches, it reverses the payment within your limits and texts the customer. If not, it tells you why so you can reply. It ships as a dry run, so nothing is reversed until you switch that off.
Who is it for?
Section titled “Who is it for?”Businesses on a Paybill that handle customer refund claims for wrong payments.
The problem it solves: checking a refund claim means logging into the M-Pesa portal and doing the reversal by hand.
What do I need before I start?
Section titled “What do I need before I start?”- A CiraIQ account on the Basic plan or above (plans)
- Your WhatsApp, linked to CiraIQ
- An M-Pesa initiator connection for payouts and checks
- An Africa’s Talking or Twilio account for SMS
How do I set up M-Pesa Reversal Check for Wrong Payments, step by step?
Section titled “How do I set up M-Pesa Reversal Check for Wrong Payments, step by step?”- Copy the template. Open M-Pesa Reversal Check for Wrong Payments and click Use this template. It opens on your canvas as your own copy.
- Copy the webhook URL from “Refund request” into your support form; send JSON like {“receipt”:“SGR7ABC123”,“phone”:“0712345678”,“amount”:“1500”}.
- In both M-Pesa steps add your M-Pesa initiator keys for the Paybill that received the money (Transaction Status and Org Reversal roles).
- It ships as a DRY RUN: a genuine claim gets you a WhatsApp saying what would be reversed, and nothing is sent.
- When you trust it, open “Reverse the payment”, set the limits to your real amounts and switch “Dry run” off.
- Add your Africa’s Talking keys in “Tell the customer”.
- Test it: send a test request to the webhook URL shown in the trigger. Each step turns green when it works; click one to see its output.
- Publish to switch it on. It now shows ACTIVE on My workflows.
What does each step do?
Section titled “What does each step do?”| # | Step | What it does |
|---|---|---|
| 1 | Webhook Trigger | Trigger workflow via HTTP webhook. Receive data from external services, APIs, or custom integrations. |
| 2 | M-Pesa Transaction | Check an M-Pesa transaction’s status by receipt number, or reverse a payment you received (guarded). |
| 3 | If / Else | Branch the workflow based on conditions. Routes to the true or false path. |
| 4 | M-Pesa Transaction | Check an M-Pesa transaction’s status by receipt number, or reverse a payment you received (guarded). |
| 5 | If / Else | Branch the workflow based on conditions. Routes to the true or false path. |
| 6 | SMS | Send SMS through your own Africa’s Talking or Twilio account. You add your own API keys - CiraIQ never pays for messages, your provider bills you directly. |
| 7 | Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent | |
| 8 | Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent | |
| 9 | Error Trigger | Runs when this workflow fails. Wire it to a notification to be told. |
| 10 | Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent |
How can I change it?
Section titled “How can I change it?”It is your own copy, so change anything: the wording, the schedule, who gets alerts, or add steps with the + button. Changes save automatically; on a live workflow they wait as a draft until you click Publish changes. See test and publish and when a step fails.
Related
Section titled “Related”- M-Pesa Reversal Check for Wrong Payments on ciraiq.com: full description and live preview
- M-Pesa automation and templates
- WhatsApp automation and templates
- SMS automation and templates
- More Customer Service templates
Questions
What do I need to set up M-Pesa Reversal Check for Wrong Payments?
Your WhatsApp, linked to CiraIQ, an M-Pesa initiator connection for payouts and checks and an Africa's Talking or Twilio account for SMS. It is made for the Basic plan.
How long does M-Pesa Reversal Check for Wrong Payments take to set up?
About 15 minutes: copy it, connect your accounts, fill in your details, test it and publish. No code is needed.
How do I know M-Pesa Reversal Check for Wrong Payments is working?
Send a test request to its webhook URL and check the run in Settings → Executions.