STK Push API
Send an M-Pesa prompt to the customer’s phone with one HTTPS call. The money lands in your Till or Paybill.
DevelopersCollect with an STK Push API, sell in-store with a barcode POS, confirm Paybill and Till payments automatically, and share payment links — with money going straight to your own till or paybill.
Online, in-store or on WhatsApp — collect M-Pesa, track stock and sales, and get reports ready for KRA.
Send an M-Pesa prompt to the customer’s phone with one HTTPS call. The money lands in your Till or Paybill.
DevelopersScan with a phone camera or USB scanner, see product photos, and stock reduces automatically on every sale.
ShopsCustomers pay your Till or Paybill directly and the sale confirms by itself — matched by a short account number or the amount.
No typing codesCreate a link, share it on WhatsApp or SMS and get paid — no website needed.
Social sellingAlready have Safaricom Daraja keys? Plug them in and run payments on your own Paybill or Till.
AdvancedSend money to M-Pesa numbers (B2C) and withdraw your balance in a few taps.
B2CVAT tracked on every receipt, with a KRA-ready summary and receipts export for any period.
Tax readyLive charts, statements, CSV export and signed webhooks the moment a payment succeeds.
RealtimeCollect from customers in other African countries alongside Kenyan M-Pesa.
InternationalWorks on a phone, tablet or PC. No extra hardware needed — your phone camera is the scanner.
Continuous camera or USB scanning adds items to the cart with their photo.
STK prompt, Till, Paybill (short account like “277”), M-Pesa code, cash or card.
Every sale reduces stock; refunds put it back. Low-stock alerts and full history.
Cash-up per shift, printable receipts and KRA-ready VAT exports.
Sign up free, add your business and the Till or Paybill you want to be paid into.
Call the API, open the POS, share a payment link, or let customers pay your Till directly.
Money lands in your account, the sale or invoice confirms automatically, and your webhook fires.
A clean REST API with an API key — no SDK required and no Safaricom paperwork to start.
PHP, Laravel, Node.js, Python, Django, WordPress, Go, Java.
Know instantly when a payment succeeds, fails or is cancelled.
Duplicate-callback guards and status checks so you never double-credit an order.
curl -X POST "https://lipalink.co.ke/api/stk_push.php" \
-H "X-Api-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 100,
"msisdn": "254712345678",
"business_id": 1,
"reference": "INV-2048"
}'
<?php
$ch = curl_init('https://lipalink.co.ke/api/stk_push.php');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['X-Api-Key: YOUR_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode([
'amount' => 100, 'msisdn' => '254712345678',
'business_id' => 1, 'reference' => 'INV-2048',
]),
]);
$res = json_decode(curl_exec($ch), true);
const res = await fetch('https://lipalink.co.ke/api/stk_push.php', {
method: 'POST',
headers: { 'X-Api-Key': 'YOUR_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({
amount: 100, msisdn: '254712345678',
business_id: 1, reference: 'INV-2048',
}),
});
const data = await res.json(); // { success: true, transaction_id: '...' }
import requests
r = requests.post(
'https://lipalink.co.ke/api/stk_push.php',
headers={'X-Api-Key': 'YOUR_KEY'},
json={'amount': 100, 'msisdn': '254712345678',
'business_id': 1, 'reference': 'INV-2048'},
)
print(r.json()) # {'success': True, 'transaction_id': '...'}
No setup fee and no contracts. You only pay when a payment goes through.
Barcode POS, stock control and Till payments that confirm at the counter.
STK Push at checkout with webhooks that update orders automatically.
Collect fees and contributions on a Paybill and see who paid instantly.
Send a payment link on WhatsApp or Instagram — no website needed.
LIPAWIN is a Kenyan payments platform that lets businesses and developers collect M-Pesa payments through an STK Push API, a point-of-sale (POS) app, Paybill/Till auto-confirmation and shareable payment links.
No. You can start with our platform credentials the same day. If you already have Daraja keys, the Own Daraja option lets you plug in your own Paybill or Till credentials so payments run on your own account.
Straight to your own M-Pesa Till (Buy Goods) or Paybill — including a bank Paybill with your account number. LIPAWIN does not hold your sales money.
Yes. When a customer pays your registered Till or Paybill directly, the payment is matched to the open sale by a short account number or by the exact amount, and the POS confirms it automatically — no code to type.
Pay only for successful payments from KES 1.00 per transaction, or choose a subscription with zero per-transaction fees. There is no setup fee.
Any language that can make an HTTPS request — PHP, Laravel, Node.js, Python, Django, Java, Go, WordPress and no-code tools. Signed webhooks tell your system the moment a payment succeeds.
Yes. The POS tracks VAT per sale and exports a KRA-ready VAT summary and receipts list for any period, so you can file or upload later.
Create a free account, add your Till or Paybill and take your first payment in minutes.