Lister les paiements
curl --request GET \
--url https://apidjonanko.tech/web-merchant/payments \
--header 'authenticationtoken: <api-key>'const options = {method: 'GET', headers: {authenticationtoken: '<api-key>'}};
fetch('https://apidjonanko.tech/web-merchant/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/web-merchant/payments"
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/payments",
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": "PAYR9PVUYEWVF",
"amount": 5000,
"country": "CI",
"provider": "<string>",
"order_id": "CMD-2026-00042",
"senderNumber": "+2250700000000",
"senderOperateur": "Wave",
"metadata": {
"order_id": "CMD-2026-00042",
"email": "client@example.com",
"phoneNumber": "+2250700000000"
},
"status": "PENDING",
"createdAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Invalid API credentials",
"error": "Unauthorized"
}{
"statusCode": 404,
"message": "Merchant not found",
"error": "Not Found"
}Paiements
Lister les paiements
Renvoie tous les paiements du marchand, du plus récent au plus ancien.
GET
/
web-merchant
/
payments
Lister les paiements
curl --request GET \
--url https://apidjonanko.tech/web-merchant/payments \
--header 'authenticationtoken: <api-key>'const options = {method: 'GET', headers: {authenticationtoken: '<api-key>'}};
fetch('https://apidjonanko.tech/web-merchant/payments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/web-merchant/payments"
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/payments",
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": "PAYR9PVUYEWVF",
"amount": 5000,
"country": "CI",
"provider": "<string>",
"order_id": "CMD-2026-00042",
"senderNumber": "+2250700000000",
"senderOperateur": "Wave",
"metadata": {
"order_id": "CMD-2026-00042",
"email": "client@example.com",
"phoneNumber": "+2250700000000"
},
"status": "PENDING",
"createdAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Invalid API credentials",
"error": "Unauthorized"
}{
"statusCode": 404,
"message": "Merchant not found",
"error": "Not Found"
}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"
Si true, limite la réponse aux 10 derniers paiements.
Response
Liste des paiements.
Example:
"PAYR9PVUYEWVF"
Example:
5000
Code pays du paiement (CI, BF, ML, CM).
Example:
"CI"
Agrégateur ayant traité le paiement.
Example:
"CMD-2026-00042"
Numéro mobile money du client payeur.
Example:
"+2250700000000"
Opérateur du client (Orange, Wave, Mtn, Moov, Visa). La casse peut varier — comparez en minuscules.
Example:
"Wave"
Données libres que vous souhaitez retrouver dans le webhook et dans la liste des transactions.
Show child attributes
Show child attributes
PENDING— lien créé, en attente de paiement (expire après 24 h).SUCCESS— paiement confirmé par l'opérateur.FAILED— paiement refusé, annulé ou lien expiré.
Available options:
PENDING, SUCCESS, FAILED 