URL : /app/api/entreprise/history
Méthode : POST
Description : RĂ©cupĂšre lâhistorique des transactions dâune entreprise avec filtres et pagination.
{
"api_key": "933329b6",
"api_public_key": "p.19e2b8a9208053.11643",
"transaction_mode": "",
"transaction_action": "",
"beneficiary_id": "",
"transaction_id": "",
"date_from": "2026-06-01",
"date_to": "2026-06-15",
"page": 1,
"limit": 50,
"token": "ZXd5MThDZkdsek15aDZV..."
}
| Champ | Type | Obligatoire | Description |
|---|---|---|---|
| api_key | string | â | ClĂ© privĂ©e dâauthentification du marchand |
| api_public_key | string | â | ClĂ© publique associĂ©e au marchand |
| transaction_mode | string | â | Mode : "live" ou "test" |
| transaction_action | string | â | Action : "deposit", "withdraw", "transfer" |
| beneficiary_id | string | â | Identifiant du bĂ©nĂ©ficiaire |
| transaction_id | string | â | Identifiant unique de la transaction |
| date_from | date | â | Date de dĂ©but (YYYY-MM-DD) |
| date_to | date | â | Date de fin (YYYY-MM-DD) |
| page | integer | â | NumĂ©ro de page (dĂ©faut 1) |
| limit | integer | â | RĂ©sultats par page (dĂ©faut 20) |
| token | string | â | Jeton sĂ©curisĂ© signĂ© |
curl -X POST /app/api/entreprise/history \
-H "Content-Type: application/json" \
-d '{
"api_key": "933367984f98ada329b6",
"api_public_key": "p.19e2b8a9271771708053.11643",
"transaction_mode": "live",
"transaction_action": "deposit",
"beneficiary_id": "CLT-12345",
"transaction_id": "",
"date_from": "2026-06-01",
"date_to": "2026-06-15",
"page": 1,
"limit": 50,
"token": "ZXd5MThDZkdsek15aDZV..."
}'
{
"success": true,
"page": 1,
"limit": 50,
"total": 120,
"pages": 3,
"count": 50,
"data": [
{
"transaction_id": "TXN-20260615-0001",
"transaction_mode": "live",
"transaction_action": "deposit",
"num_card": "CARD-987654321",
"beneficiary_id": "CLT-12345",
"montant_to": 60550.00,
"frais": 2.50,
"total": 60552.50,
"date_trans": "2026-06-15 15:40:00",
"details": "DépÎt|Agence Abidjan|Client123"
}
]
}