The meCash Mobile Money Collections API enables merchants to programmatically request payments from customers using mobile money wallets. This is ideal for funding your meCash wallet or collecting payments in local currencies like MWK, RWF, KES, and TZS.
1. Discover Supported Mobile Networks
Before requesting a payment, you should discover which mobile money networks are supported in the target country and currency by passing the country code.
Get Networks Endpoint
GET: {{baseURL}}/v1/mobileMoneyOperator
Query Parameters
This Endpoint is optional for Kenyan Mobile Money Collections.
Sample Response
2. Request a Payment (Initiate Collection)
Once you have the network details, you can initiate a collection request. This will trigger a prompt on the customerβs mobile device to authorize the payment.
Initiate Collection Endpoint
POST: {{baseURL}}/v1/funding
Request Body Breakdown
Sample Response
3. Webhook Lifecycle Events
Mobile money collections are asynchronous. You should listen for the following webhook events (detailed in the Collection Webhook guide) to track the payment lifecycle:
Ensure your webhook URL is correctly configured and verified to receive these notifications.