Documentation Index
Fetch the complete documentation index at: https://docs.yabetoopay.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
GET https://pay.sandbox.yabetoopay.com/v1/disbursement/{id} # Sandbox
GET https://pay.api.yabetoopay.com/v1/disbursement/{id} # Production
Authentification
Utilisez votre clé secrète dans l’en-tête Authorization :
Authorization: Bearer YOUR_SECRET_KEY
Paramètres de chemin
| Paramètre | Type | Description |
|---|
id | string | L’ID du décaissement |
Exemple de requête
curl https://pay.sandbox.yabetoopay.com/v1/disbursement/wt_RMqehxy8NNi1ocJFG2SSAZMj81m6spo72vnZ \
-H "Authorization: Bearer YOUR_SECRET_KEY"
Réponse
200 OK
{
"amount": 10000,
"currency": "XAF",
"status": "processing",
"firstName": "Jean",
"lastName": "Dupont",
"operatorName": "mtn",
"country": "cg",
"phone": "242066594471",
"object": "disbursement",
"type": 1,
"shouldExecutedAt": "2025-03-18T09:24:57.555Z",
"id": "wt_RMqehxy8NNi1ocJFG2SSAZMj81m6spo72vnZ",
"createdAt": "2025-03-17T10:24:57.559+01:00",
"updatedAt": "2025-03-17T10:24:57.559+01:00"
}
Statuts du décaissement
| Statut | Description |
|---|
processing | En cours de traitement |
succeeded | Décaissement réussi |
failed | Décaissement échoué |
canceled | Décaissement annulé |
404 Not Found
{
"message": "Disbursement not found"
}
401 Non autorisé
{
"message": "Unauthorized"
}