Lister les rapports mensuels
curl --request GET \
--url https://apidjonanko.tech/web-merchant/reports \
--header 'authenticationtoken: <api-key>'const options = {method: 'GET', headers: {authenticationtoken: '<api-key>'}};
fetch('https://apidjonanko.tech/web-merchant/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/web-merchant/reports"
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/reports",
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",
"period": "2026-08",
"periodLabel": "Août 2026",
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"status": "PENDING",
"filename": "rapport-beautyshop-2026-08.pdf",
"fileUrl": "<string>",
"fileSize": 123,
"summary": {},
"error": "<string>",
"generatedAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Invalid API credentials",
"error": "Unauthorized"
}Rapports mensuels
Lister les rapports mensuels
Rapports PDF générés automatiquement chaque début de mois pour le mois écoulé.
GET
/
web-merchant
/
reports
Lister les rapports mensuels
curl --request GET \
--url https://apidjonanko.tech/web-merchant/reports \
--header 'authenticationtoken: <api-key>'const options = {method: 'GET', headers: {authenticationtoken: '<api-key>'}};
fetch('https://apidjonanko.tech/web-merchant/reports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/web-merchant/reports"
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/reports",
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",
"period": "2026-08",
"periodLabel": "Août 2026",
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"status": "PENDING",
"filename": "rapport-beautyshop-2026-08.pdf",
"fileUrl": "<string>",
"fileSize": 123,
"summary": {},
"error": "<string>",
"generatedAt": "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"
Response
Rapports, du plus récent au plus ancien.
Mois couvert, au format YYYY-MM.
Example:
"2026-08"
Example:
"Août 2026"
Available options:
PENDING, READY, FAILED Example:
"rapport-beautyshop-2026-08.pdf"
Chiffres clés du mois (montant total, nombre de paiements, répartition par opérateur…).
