SofizPay Logo

SofizPay

SofizPay Logo
SofizPay
Technical Documentation
Operation History API

Operation History API

Track and monitor all payment operations with detailed transaction history

API Endpoint

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

Retrieve paginated operation history with transaction details

Basic Request

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

Pagination Request

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

Query Parameters

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

Success Response (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: Each operation includes detailed transaction information with Sofizpay confirmation.