How can we help?

Step-by-step guides for running a paid Telegram channel or group on AccessBot — create your own membership bot, connect payments (Stripe, PayPal, crypto, M-Pesa & Telegram Stars), build subscription plans, and manage members automatically.

New here? Setting up a Telegram membership bot takes three steps: 1. create your bot with Telegram's BotFather, 2. connect a payment method and create your plans, 3. add the bot to your channel or group — it handles invites, renewals, and removals automatically. Start free and follow the guides below.

Payments

Set up M-Pesa (Safaricom Daraja)

Take mobile-money payments in Kenya

M-Pesa lets your Kenyan subscribers pay straight from their phone — no card, no app switch. AccessBot connects to Safaricom's Daraja API and triggers an STK push: the subscriber types their number, a prompt pops up on their handset, and they approve it with their M-Pesa PIN. Payment usually confirms in 1–2 minutes.

Heads up: M-Pesa is Kenya only, and charges are one-time — there is no auto-renew. When the paid period ends, access simply expires and the subscriber pays again.

What you'll paste in

Grab these five values from your Safaricom Daraja developer account, then open Dashboard › Payments › M-Pesa:

FieldWhere it comes from
Consumer keyYour Daraja app credentials
Consumer secretYour Daraja app credentials
Shortcode / TillYour Paybill or Till number
PasskeyThe Lipa na M-Pesa Online Passkey — issued by Safaricom for your shortcode
EnvironmentChoose sandbox to test, production to go live
Missing your Passkey? It's the one value Safaricom doesn't always surface in the Daraja portal — and STK Push cannot initiate a payment without it. Email Safaricom's API team at apisupport@safaricom.co.ke and request the Lipa na M-Pesa Online Passkey for your Paybill/Till, then paste it into Payments › M-Pesa.
Open Payments → M-Pesa in your dashboard.
Paste the consumer key, secret, shortcode/till and passkey.
Pick sandbox first, run a test payment, then flip to production and Save.

What the subscriber sees

Enter your M-Pesa number to pay KES 1,000.
0712 345 678
📲 Check your phone and enter your M-Pesa PIN to confirm.
💬Enter number
📲STK push
🔑Approve with PIN
Access granted