When MPESA callbacks are not received OR transactions failed to reach the registered callback URLs during a specific period, You have two options.👇🏾👇🏾
1. Transaction Status API
Used to check the status of a customer to business, business to business, Business to customer, Reversal and IMT transactions that happen on M-PESA. Use either M-Pesa Receipt number or an Originator Conversation ID of the transaction.
2. Pull Transactions API
Query all C2B transactions performed under your Pay bill/Till number within the last 48 hours. Use Shortcode and time range
Missing M-Pesa callbacks will teach you the Transaction Status API faster than any tutorial ever will😂
You'll be reading Daraja Tatu docs wondering why your callback URL went silent.
The fix? Always persist your CheckoutRequestID the moment you fire the STK Push before anything else. That's your lifeline when callbacks ghost you.
Then hit the Transaction Status API to query what actually happened.