C2B Simulate
Simulate a customer sending money to a business shortcode via Paybill or Buy Goods. Used in sandbox to test C2B payment flows without a real phone.
Simulate Customer-to-Business Payment
How C2B Simulate works
In production, a customer dials *150*00# and pays your shortcode (174379).
In sandbox, this endpoint mimics that action — Daraja records the payment and fires a confirmation callback to your registered URL.
A ResponseCode 0 confirms the simulation was accepted.