Skip to main content
POST
/
payouts
/
momo
Create a mobile money payout
curl --request POST \
  --url https://api.jenzy.com/v1/payouts/momo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "amount_mwk": 250000,
  "operator_ref_id": "<string>",
  "mobile_number": "+265991234567"
}
'
import requests

url = "https://api.jenzy.com/v1/payouts/momo"

payload = {
"amount_mwk": 250000,
"operator_ref_id": "<string>",
"mobile_number": "+265991234567"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
amount_mwk: 250000,
operator_ref_id: '<string>',
mobile_number: '+265991234567'
})
};

fetch('https://api.jenzy.com/v1/payouts/momo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.jenzy.com/v1/payouts/momo",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount_mwk' => 250000,
'operator_ref_id' => '<string>',
'mobile_number' => '+265991234567'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.jenzy.com/v1/payouts/momo"

payload := strings.NewReader("{\n \"amount_mwk\": 250000,\n \"operator_ref_id\": \"<string>\",\n \"mobile_number\": \"+265991234567\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.jenzy.com/v1/payouts/momo")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount_mwk\": 250000,\n \"operator_ref_id\": \"<string>\",\n \"mobile_number\": \"+265991234567\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.jenzy.com/v1/payouts/momo")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount_mwk\": 250000,\n \"operator_ref_id\": \"<string>\",\n \"mobile_number\": \"+265991234567\"\n}"

response = http.request(request)
puts response.read_body
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "amount_mwk": 250000,
  "status": "succeeded",
  "destination": {
    "bank_uuid": "<string>",
    "account_number": "<string>",
    "account_name": "<string>"
  },
  "failure": {
    "message": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "terminal_at": "2023-11-07T05:31:56Z"
}
{
"error": {
"message": "<string>"
}
}
{
"error": {
"message": "<string>"
}
}
{
"error": {
"message": "<string>"
}
}
{
"error": {
"message": "<string>"
}
}
{
"error": {
"message": "<string>"
}
}
{
"error": {
"message": "<string>"
}
}
{
"error": {
"message": "<string>"
}
}

Authorizations

Authorization
string
header
required

Your Jenzy API key: Authorization: Bearer jz_live_…

Headers

Idempotency-Key
string
required

Required. A key you mint per payout intent (a UUID works). Replays of the same key + body return the original response byte-for-byte; the same key with a different body is a 409.

Body

application/json
amount_mwk
integer
required
Example:

250000

operator_ref_id
string
required

From GET /operators (ref_id).

Minimum string length: 1
mobile_number
string
required
Minimum string length: 1
Example:

"+265991234567"

Response

Accepted: funds are held and the payout is queued for submission. Track it via webhooks or GET /payouts/{id}.

id
string<uuid>
required

Payout id — your handle for polling and support.

amount_mwk
integer
required
Example:

250000

rail
enum<string>
required
Available options:
bank,
momo
status
enum<string>
required

Lifecycle: received → validated → held → submitted → pending → succeeded | failed. Only succeeded and failed are terminal.

Available options:
received,
validated,
held,
submitted,
pending,
succeeded,
failed
Example:

"succeeded"

destination
object
required

The destination snapshot as validated at accept — shape follows rail.

failure
object | null
required

Set exactly when status is failed; null otherwise.

created_at
string<date-time>
required
terminal_at
string<date-time> | null
required