Vérifier le statut d'un paiement
curl --request GET \
--url https://apidjonanko.tech/web-merchant/payment/status \
--header 'authenticationtoken: <api-key>'const options = {method: 'GET', headers: {authenticationtoken: '<api-key>'}};
fetch('https://apidjonanko.tech/web-merchant/payment/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/web-merchant/payment/status"
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/payment/status",
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": "50f668cf-2a84-41e7-9bcb-6874b0d5d286",
"reference": "PAYR9PVUYEWVF",
"order_id": "CMD-2026-00042",
"status": "PENDING",
"createdAt": "2026-09-18T08:00:00.000Z"
}{
"statusCode": 401,
"message": "Invalid API credentials",
"error": "Unauthorized"
}{
"statusCode": 404,
"message": "Payment not found",
"error": "Not Found"
}Paiements
Vérifier le statut d'un paiement
Renvoie le statut courant d’un paiement à partir de sa référence PAY….
Utilisez cet endpoint pour confirmer côté serveur un webhook reçu, ou pour interroger
un paiement dont vous n’avez pas reçu de notification.
GET
/
web-merchant
/
payment
/
status
Vérifier le statut d'un paiement
curl --request GET \
--url https://apidjonanko.tech/web-merchant/payment/status \
--header 'authenticationtoken: <api-key>'const options = {method: 'GET', headers: {authenticationtoken: '<api-key>'}};
fetch('https://apidjonanko.tech/web-merchant/payment/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apidjonanko.tech/web-merchant/payment/status"
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/payment/status",
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": "50f668cf-2a84-41e7-9bcb-6874b0d5d286",
"reference": "PAYR9PVUYEWVF",
"order_id": "CMD-2026-00042",
"status": "PENDING",
"createdAt": "2026-09-18T08:00:00.000Z"
}{
"statusCode": 401,
"message": "Invalid API credentials",
"error": "Unauthorized"
}{
"statusCode": 404,
"message": "Payment not found",
"error": "Not Found"
}La
payment_reference est la référence PAY…, pas l’id UUID. Guide : Vérifier un paiement.Authorizations
JWT obtenu via POST /user/login-merchant. À passer tel quel, sans préfixe Bearer.
Query Parameters
Référence du paiement renvoyée à la création du lien.
Example:
"PAYR9PVUYEWVF"
Response
Statut du paiement.
Example:
"50f668cf-2a84-41e7-9bcb-6874b0d5d286"
Example:
"PAYR9PVUYEWVF"
Le metadata.order_id transmis à la création.
Example:
"CMD-2026-00042"
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 Example:
"2026-09-18T08:00:00.000Z"
