Initiate a Mobile Money withdrawal
curl --request POST \
--url https://api.winampay.de/api/v1/withdrawals \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"player_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"msisdn": "+237670123456",
"amount_xaf": 101,
"operator": "mtn",
"reference": "<string>",
"callback_url": "<string>"
}
'import requests
url = "https://api.winampay.de/api/v1/withdrawals"
payload = {
"player_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"msisdn": "+237670123456",
"amount_xaf": 101,
"operator": "mtn",
"reference": "<string>",
"callback_url": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
player_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
msisdn: '+237670123456',
amount_xaf: 101,
operator: 'mtn',
reference: '<string>',
callback_url: '<string>'
})
};
fetch('https://api.winampay.de/api/v1/withdrawals', 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.winampay.de/api/v1/withdrawals",
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([
'player_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'msisdn' => '+237670123456',
'amount_xaf' => 101,
'operator' => 'mtn',
'reference' => '<string>',
'callback_url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-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.winampay.de/api/v1/withdrawals"
payload := strings.NewReader("{\n \"player_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"msisdn\": \"+237670123456\",\n \"amount_xaf\": 101,\n \"operator\": \"mtn\",\n \"reference\": \"<string>\",\n \"callback_url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.winampay.de/api/v1/withdrawals")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"player_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"msisdn\": \"+237670123456\",\n \"amount_xaf\": 101,\n \"operator\": \"mtn\",\n \"reference\": \"<string>\",\n \"callback_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.winampay.de/api/v1/withdrawals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"player_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"msisdn\": \"+237670123456\",\n \"amount_xaf\": 101,\n \"operator\": \"mtn\",\n \"reference\": \"<string>\",\n \"callback_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"winam_tx_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference": "<string>",
"status": "pending_approval",
"amount_xaf": 10000,
"operator": "mtn"
}Payments
Withdrawals
Initiate a Mobile Money withdrawal. Requires manual approval by a Winam operator before execution.
POST
/
api
/
v1
/
withdrawals
Initiate a Mobile Money withdrawal
curl --request POST \
--url https://api.winampay.de/api/v1/withdrawals \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"player_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"msisdn": "+237670123456",
"amount_xaf": 101,
"operator": "mtn",
"reference": "<string>",
"callback_url": "<string>"
}
'import requests
url = "https://api.winampay.de/api/v1/withdrawals"
payload = {
"player_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"msisdn": "+237670123456",
"amount_xaf": 101,
"operator": "mtn",
"reference": "<string>",
"callback_url": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
player_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
msisdn: '+237670123456',
amount_xaf: 101,
operator: 'mtn',
reference: '<string>',
callback_url: '<string>'
})
};
fetch('https://api.winampay.de/api/v1/withdrawals', 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.winampay.de/api/v1/withdrawals",
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([
'player_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'msisdn' => '+237670123456',
'amount_xaf' => 101,
'operator' => 'mtn',
'reference' => '<string>',
'callback_url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-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.winampay.de/api/v1/withdrawals"
payload := strings.NewReader("{\n \"player_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"msisdn\": \"+237670123456\",\n \"amount_xaf\": 101,\n \"operator\": \"mtn\",\n \"reference\": \"<string>\",\n \"callback_url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.winampay.de/api/v1/withdrawals")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"player_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"msisdn\": \"+237670123456\",\n \"amount_xaf\": 101,\n \"operator\": \"mtn\",\n \"reference\": \"<string>\",\n \"callback_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.winampay.de/api/v1/withdrawals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"player_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"msisdn\": \"+237670123456\",\n \"amount_xaf\": 101,\n \"operator\": \"mtn\",\n \"reference\": \"<string>\",\n \"callback_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"winam_tx_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference": "<string>",
"status": "pending_approval",
"amount_xaf": 10000,
"operator": "mtn"
}How it works
1
Call POST /withdrawals
Your backend sends the player’s MSISDN, amount, and a unique
reference.2
Queued for approval
The withdrawal enters
pending_approval state. A Winam operator reviews and approves (or rejects) it from the operator dashboard.3
Transfer executed
Once approved, winam-payments sends a USSD disbursement to the player’s phone.
4
Webhook fired
Your
callback_url receives a POST with event: "payment.succeeded" or "payment.failed".Withdrawals always return
status: "pending_approval" immediately. Do not credit the player before receiving a payment.succeeded webhook. Winam guarantees player payment regardless of partner liquidity.HTTP
200 does not mean the withdrawal succeeded — it only means the
request was accepted and queued. Always read the status field in the
response body, and treat the final outcome as the payment.succeeded /
payment.failed webhook (or the state from GET /transactions/{id}).Approval time
Manual approvals typically happen within minutes to a few hours during business hours. Yourcallback_url will be notified as soon as the outcome is known.
If no callback_url is provided, poll GET /api/v1/transactions/{winam_tx_id} for status updates.
Response states
status | Meaning |
|---|---|
pending_approval | Queued for manual Winam operator approval |
| Event | Meaning |
|---|---|
payment.succeeded | Transfer confirmed — player received funds |
payment.failed | Rejected by operator or provider error |
Authorizations
Body
application/json
Player UUID on the sportsbook side
Recipient MoMo number (E.164)
Example:
"+237670123456"
Amount in XAF (min 100)
Required range:
x >= 100MoMo operator
Examples:
"mtn"
"orange"
Unique sportsbook reference
Required string length:
1 - 128POST URL for withdrawal result notification.
Response
Successful Response
Winam internal transaction UUID. Use this with GET /api/v1/transactions/{id}.
Your idempotency key, echoed back from the request
pending_approval — the withdrawal is queued for manual approval by a Winam operator. Your platform will be notified via webhook when the status changes.
Example:
"pending_approval"
Amount in XAF
Example:
10000
"mtn" or "orange"
Example:
"mtn"

