Payout

Overview

The Rumbapay Payout API allows you to make payouts to your clients' bank accounts. This document provides instructions on how to create and manage bank transfer payouts.

How exactly Mobile Money Payout works:

  1. The customer selects the mobile operator and fills the phone number and other needed fields;

  2. Merchant makes a request to create mobile money payout;

  3. Rumbapay process the payout, interacts with the provider;

  4. Rumbapay sends a webhook to the merchant once the transaction status becomes terminal.

Base URL:

  • https://api.rumbapay.online/v1/

Data Format: JSON

HTTP Methods: POST, GET


List of available operators

Country
ISO A-2
Operator

Kenya

KE

mpesa, airtel

Tanzania

TZ

vodacom, tigo, halopesa, airtel

Ghana

GH

vodafone, mtn, airteltigo

Gambia

GM

qcell, wave, africel

Cameroon

CM

mtn, orange

Initialize Payout

Method: HTTP POST

URL: https://api.rumbapay.online/v1/payout

Request Body:

Response (Success):

Response - 400 Bad request


Callback

On every completed Payout we send a callback notification to the URL you passed in the request in the callback_url field.

Callback flow

The callback flow follows these steps:

  1. Rumbapay processes the payout request

  2. When the payout status changes to a terminal state, Rumbapay sends an HTTP POST request to your callback URL

  3. Your server should process the callback, validate the signature, and update your system

  4. Your server should respond with HTTP 200 OK to acknowledge receipt

Example


Check Payout Status

Method: HTTP GET

URL: https://api.rumbapay.online/v1/transaction/{request_id}

Response (Success):

Response (Not Found):

Transaction not found

Last updated