Tanzania: Integrating M-PESA with XenFi Using Snippe (A Step-by-Step Guide)
Learn how to integrate M-PESA with XenFi using Snippe to enable seamless mobile money payments for your hotspot. This step-by-step guide walks you through API key generation, verification, and configuration for a secure and automated billing system.
Angel Namuli
April 2, 2026
Integrating Snippe API with XenFi
Step 1: Create a Snippe Account
Visit the Snippe platform (snippe.sh) and create an account.
After registration, log in to access the Snippe Dashboard.
Step 2: Navigate to API Keys
On the dashboard, locate the Settings section and select API Keys.
This section allows you to generate keys that enable communication between XenFi and the Snippe payment system.
Step 3: Create a New API Key
Click “Create" API Key.”
At this stage;
Provide a name for your key (e.g., xenfi-production)
Select the required scopes (permissions):
collection:readcollection:createdisbursement:readdisbursement:create
Step 4: Verify Your Identity
For security purposes, Snippe will require verification before generating the API key.
Choose a verification method (Email, WhatsApp, or SMS)
A one-time verification code will be sent to you
Enter the verification code in the provided input fields
Click Verify to proceed
Step 5: Copy and Store the API Key
Once verification is successful, you will be redirected back to the dashboard.
Your API key will be displayed
Copy it immediately and store it securely
Note: The API key is shown only once. If lost, you will need to generate a new one.
Step 6: Configure XenFi Payment Gateway
Now switch to your XenFi Dashboard.
Go to Settings → Payment Gateways
Locate Snippe
Click Configure
Step 7: Apply the Integration
Paste the copied API key into the required field
Tick “Apply configuration to all hotspots”
Click Save
Find out how XenFi helps ISPs grow
Smart billing, automation and management for hotspot providers and ISPs.