SofizPay Logo

SofizPay

SofizPay Logo
SofizPay
Documentation Technique
API Historique des Opérations

API Historique des Opérations

Suivez et surveillez toutes les opérations de paiement avec un historique détaillé des transactions

Point d'accès API

GEThttps://sofizpay.com/services/operation-history/

Récupérez l'historique paginé des opérations avec les détails des transactions

Requête Basique

bash
curl --location 'https://sofizpay.com/services/operation-history/?encrypted_sk=YOUR_ENCRYPTED_KEY&limit=10&offset=0'

Requête Paginée

bash
curl --location 'https://sofizpay.com/services/operation-history/?encrypted_sk=YOUR_ENCRYPTED_KEY&limit=50&offset=100'

Paramètres de requête

ParameterTypeRequiredDescription
encrypted_skstring✅ YesEncrypted secret key for user authentication
limitinteger❌ NoNumber of results to return (default: 10)
offsetinteger❌ NoNumber of results to skip for pagination

Réponse réussie (200)

json
1{
2  "status": "success",
3  "data": {
4    "operations": [
5      {
6        "id": "311b91e2-abd8-4193-a5d8-af06a1328f7f",
7        "operation_type": "topup",
8        "phone": "0773937894",
9        "operator": "djezzy",
10        "amount": "10.00",
11        "offer": "prepaid",
12        "status": "processing",
13        "status_message": null,
14        "created_at": "2025-08-21T15:19:50.905826+00:00",
15        "updated_at": "2025-08-21T15:19:57.391671+00:00",
16        "blockchain_transaction": {
17          "id": "1396aa60-0703-4073-a33d-ab5cf1582aef",
18          "source_account": "GDNS27ISCGOIJFXC6CM4O5SVHVJPSWR42QEBWUFF24N5VVHGW73ZSJNQ",
19          "destination_account": "GCZQAL44N5MD7DVHGMPYL2BW6C22MF276H66WONVAGZ2F46Q3LMTOD52",
20          "amount": "10.0000000",
21          "asset_code": "DZD",
22          "memo": "00",
23          "status": "confirmed",
24          "Sofizpay_hash": "aa17cd0727e520d314c685b2e0ae881cb11c87e23b75e8521b6bd2112216ca96",
25          "retry_count": 0,
26          "max_retries": 3,
27          "created_at": "2025-08-21T15:19:51.123456+00:00",
28          "confirmed_at": "2025-08-21T15:19:55.789012+00:00",
29          "last_retry_at": null
30        }
31      }
32    ],
33    "pagination": {
34      "total_count": 104,
35      "limit": 10,
36      "offset": 0,
37      "has_more": true
38    }
39  }
40}

Note : Chaque opération inclut des informations détaillées sur la transaction.