Africa Mobile Money payments

Learn how to start receiving Mobile Money payments.

Mobile Money is a service that stores funds in a secure electronic account, linked to the user's mobile phone number. It is provided by the same companies that run the local mobile phone services and is available to both pre-pay and contract customers.

It allows users to store, send, and receive money using their mobile phone. They can buy items in shops or online, pay bills, school fees, and top up mobile airtime, and withdraw cash at authorized agents. Typically, the user's account with the telco includes two separate balances: phone call balances, and a wallet balance.

Availability

Mobile Money payments are available in Kenya, Ghana, Cameroon and Senegal.

Push notification example flow

User will input the phone number in the merchant's website, and a Mobile Money payment request with payment_method_id = MW will be sent (see an example below).

The response will have the PENDING status until the user inputs the required PIN, and dLocal gets notified. This is an example of the push notification the user is receiving:

1080

Example of Mobile Money push notification in Ghana.

Mobile Money request

Mobile Money payments are available trough a DIRECT flow only and, as mentioned above, make sure you set payment_method_id = MW. For a full list of country and currency codes, visit the Country Reference page.

There's a specific parameter that is particularly mandatory for Ghana. Find and example request/response after the first example.

❗️

Mandatory information

Sending phone is mandatory so that the user can receive the push notification.

Example request

{
    "amount": 10000,
    "currency": "KES",
    "country": "KE",
    "payment_method_flow": "DIRECT",
    "payment_method_id": "MW",
    "payer": {
        "name": "David Otieno",
        "email": "[email protected]",
        "phone": "+2544832695335",
        "document": "27183121",
        "address": {
            "country": "KE",
            "state": "Nairobi",
            "city": "Nairobi",
            "zip_code": "2341",
            "street": "Lusaka Rd",
            "number": "5940"
        }
    },
    "order_id": "9928451",
    "notification_url": "http://google.com"
}
{
    "id": "D-4-a81b9060-3cde-452c-81b1-e82f2739fb47",
    "amount": 10000,
    "currency": "KES",
    "payment_method_id": "MW",
    "payment_method_type": "BANK_TRANSFER",
    "payment_method_flow": "DIRECT",
    "country": "KE",
    "bank_transfer": {},
    "ticket": {},
    "created_date": "2020-11-03T14:09:24.000+0000",
    "status": "PENDING",
    "status_detail": "The payment is pending.",
    "status_code": "100",
    "order_id": "9928451",
    "notification_url": "http://google.com"
}