Mpesa Daraja API Testing Interface
Test all Mpesa APIs with this simple interface
STK Push
STK Query
C2B
B2C
Transaction Status
Account Balance
Reversal
B2B
API Response
Submit a request to see the response here...
STK Push (Lipa Na M-Pesa)
Phone Number
Amount
Account Reference
Transaction Type
PayBill
Till Number
Callback URL (Optional)
Send STK Push
Processing request...
STK Query
Checkout Request ID
Query STK Status
Processing request...
Customer to Business (C2B)
Register URLs
Shortcode
Shortcode Type
C2B
Validation URL
Confirmation URL
Register URLs
Simulate Transaction
Phone Number
Amount
Shortcode
Command ID
CustomerPayBillOnline
CustomerBuyGoodsOnline
Account Number (Optional)
Simulate C2B
Processing request...
Business to Customer (B2C)
Phone Number
Amount
Command ID
Salary Payment
Business Payment
Promotion Payment
Remarks
Result URL (Optional)
Timeout URL (Optional)
Send B2C Payment
Processing request...
Transaction Status
Shortcode
Transaction ID
Identifier Type
MSISDN (Phone Number)
Till Number
Organization Shortcode
Remarks
Check Status
Processing request...
Account Balance
Shortcode
Identifier Type
MSISDN (Phone Number)
Till Number
Organization Shortcode
Remarks
Check Balance
Processing request...
Transaction Reversal
Shortcode
Transaction ID
Amount
Remarks
Reverse Transaction
Processing request...
Business to Business (B2B)
Receiver Shortcode
Command ID
BusinessPayBill
MerchantToMerchantTransfer
MerchantTransferFromMerchantToWorking
MerchantServicesMMFAccountTransfer
AgencyFloatAdvance
Amount
Remarks
Account Number (Optional)
Send B2B Payment
Processing request...