Payment Links & Public Payment Page
Generate shareable payment links for customers to pay via M-Pesa STK Push from any device — no app needed.
What is a payment link?
A payment link is a unique URL you can share with a specific customer. When they open it, they see a branded payment page showing their name, the amount due, and a button to pay via M-Pesa STK Push.
Payment links are useful for: sending renewal reminders via WhatsApp or SMS, helping customers who don't know their account number, and collecting one-off payments.
Generating a payment link
On the Customers page, expand any customer's detail panel. Click Copy Payment Link. A unique URL is generated in the format:
The code at the end is the customer's own M-Pesa account number, so the link never changes and you can safely save it against their record. Share it by WhatsApp, SMS, or email.
{{payment_link}} is coming out blank in your SMS, check that the customer has an account number rather than assuming the message template is broken.Customer experience
When the customer opens the link they see:
- → Their name and plan details
- → The amount due
- → A phone number field (pre-filled if known)
- → A Pay Now button that triggers M-Pesa STK Push
After paying, the page shows a success confirmation and the customer's new expiry date. No login or app required on the customer's side.
Confirmation
The page updates itself the moment the payment clears. The customer does not need to refresh, and they should stay on it until they see the confirmation rather than closing it as soon as they have entered their PIN.
