Rwanda mobile money

Hey👋. We recommend checking out the overview to understand the basics of direct charge first. This guide assumes you've read that.

If you're collecting money in RWF, your customers can pay with Rwanda mobile money services.


  1. You call our API to create a charge, passing in the customer's mobile number.
  2. Your customer completes the payment by authorising it with their mobile money provider.

Initiating the payment

First, you'll need the customer's phone_number. Combine that with the rest of the payment details to create the payload and send to our charge Rwanda mobile money endpoint. You'll need to specify amount, currency, email and a unique tx_ref.

You can also specify more details, such as the customer's fullname and custom meta information. See the endpoint documentation for details.

// Install with: npm i flutterwave-node-v3

const Flutterwave = require('flutterwave-node-v3');
const flw = new Flutterwave(process.env.FLW_PUBLIC_KEY, process.env.FLW_SECRET_KEY);
const payload = {
    phone_number: '054709929220',
    amount: 1500,
    currency: 'RWF',
    email: '',
    tx_ref: this.generateTransactionReference(),
// Install with: composer require flutterwavedev/flutterwave-v3

$flw = new \Flutterwave\Rave(getenv('FLW_SECRET_KEY'));
// Set `PUBLIC_KEY` as an environment variable
$mobileMoneyService = new \Flutterwave\MobileMoney();
$payload = [
    "type" => "mobile_money_rwanda"
    "phone_number" => '25454709929220',
    "amount" => 1500,
    "currency" => 'RWF',
    "email" => '',
    "tx_ref" => $this->generateTransactionReference(),
$response = $mobileMoneyService->mobilemoney($payload);
# Install with: gem install flutterwave_sdk

require 'flutterwave_sdk'

charge =
payload = {
    phone_number: '054709929220',
    amount: 1500,
    currency: 'RWF',
    email: '',
    tx_ref: generate_transaction_reference,
response = charge.initiate_charge payload
print response
curl --request POST \
   --url \
   --header 'Authorization: Bearer YOUR_SECRET_KEY' \
   --header 'content-type: application/json' \
   --data '{
     "phone_number": "054709929220",
     "amount": 1500,
     "currency": "RWF",
     "email": "",
     "tx_ref": "BJUYU399fcd43"

Handling the response

You'll get a response that looks like this:

  "status": "success",
  "message": "Charge initiated",
  "meta": {
    "authorization": {
      "redirect": "",
      "mode": "redirect"

The meta.authorization object contains the details needed to complete the transaction. The mode is "redirect", meaning you should redirect your customer to the provided URL to complete the payment.

Completing the payment

To complete the payment, the customer authorizes it with their mobile money provider at the provided redirect URL.

Testing tip

In Test Mode, you can complete the transaction by visiting the returned redirect URL and entering 123456 as the OTP.

When the payment is completed, we'll send you a webhook notification. Here's what the payload looks like:

  "event": "charge.completed",
  "data": {
    "id": 2073992,
    "tx_ref": "BJUYU399fcd43",
    "flw_ref": "flwm3s4m0c1620380894041",
    "device_fingerprint": "N/A",
    "amount": 1500,
    "currency": "RWF",
    "charged_amount": 1500,
    "app_fee": 43.5,
    "merchant_fee": 0,
    "processor_response": "Approved",
    "auth_model": "MOBILEMONEY",
    "ip": "::ffff:",
    "narration": "MerchantName",
    "status": "successful",
    "payment_type": "mobilemoneyrw",
    "account_id": 732559,
    "meta": null,
      "id": 841600,
      "name": "Anonymous Customer",
      "phone_number": "054709929220",
      "email": "",

In your webhook handler, you can then verify the payment and credit your customer with whatever they paid for. See our guide to transaction verification for details.