Lister les reversements
curl --request GET \
--url https://apidjonanko.tech/web-merchant/list-disbursements \
--header 'authenticationtoken: <api-key>'const options = {method: 'GET', headers: {authenticationtoken: '<api-key>'}};
fetch('https://apidjonanko.tech/web-merchant/list-disbursements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/web-merchant/list-disbursements"
headers = {"authenticationtoken": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apidjonanko.tech/web-merchant/list-disbursements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authenticationtoken: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference": "beautyshop",
"amount": 50000,
"destination": "+2250700000000",
"country": "CI",
"operator": "wave",
"status": "PENDING",
"payoutAccountId": "<string>",
"payoutDetails": {},
"failureReason": "<string>",
"processedManually": true,
"validatedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"merchantName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Invalid API credentials",
"error": "Unauthorized"
}Reversements
Lister les reversements
GET
/
web-merchant
/
list-disbursements
Lister les reversements
curl --request GET \
--url https://apidjonanko.tech/web-merchant/list-disbursements \
--header 'authenticationtoken: <api-key>'const options = {method: 'GET', headers: {authenticationtoken: '<api-key>'}};
fetch('https://apidjonanko.tech/web-merchant/list-disbursements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/web-merchant/list-disbursements"
headers = {"authenticationtoken": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apidjonanko.tech/web-merchant/list-disbursements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authenticationtoken: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference": "beautyshop",
"amount": 50000,
"destination": "+2250700000000",
"country": "CI",
"operator": "wave",
"status": "PENDING",
"payoutAccountId": "<string>",
"payoutDetails": {},
"failureReason": "<string>",
"processedManually": true,
"validatedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"merchantName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Invalid API credentials",
"error": "Unauthorized"
}Authorizations
JWT obtenu via POST /user/login-merchant. À passer tel quel, sans préfixe Bearer.
Query Parameters
Référence de votre compte marchand (celle choisie à l'inscription, ex. beautyshop).
Example:
"beautyshop"
PENDING— demande créée, en attente de validation par Djonanko.PROCESSING— validée, transfert lancé chez l'opérateur.SUCCESS— fonds reçus sur le compte de reversement.FAILED— transfert échoué (voirfailureReason).
Available options:
PENDING, PROCESSING, SUCCESS, FAILED Response
Reversements, du plus récent au plus ancien.
Référence du marchand.
Example:
"beautyshop"
Example:
50000
Numéro mobile money ou numéro de compte bancaire cible.
Example:
"+2250700000000"
Example:
"CI"
Type du compte cible (orange, moov, mtn, wave, bank).
Example:
"wave"
PENDING— demande créée, en attente de validation par Djonanko.PROCESSING— validée, transfert lancé chez l'opérateur.SUCCESS— fonds reçus sur le compte de reversement.FAILED— transfert échoué (voirfailureReason).
Available options:
PENDING, PROCESSING, SUCCESS, FAILED Instantané du compte de reversement au moment de la demande.
