zeexdata merchant API
API Documentation
REST API for data, airtime, cable TV, electricity and exam pins. Authenticate with your token and call the live base URL below.
JSON over HTTPSToken authenticationLive pricing
All systems normal
Base URL
http://127.0.0.1:8000GET
/api/data/{id}/Query Data Transaction
GET — check data order status
api:readQuery a single data transaction by ID, or list/search all your data orders.
Required headers
| Header | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_TOKEN | Yes |
| Content-Type | application/json | Yes (POST/PUT) |
| Accept | application/json | Recommended |
Endpoint
GET
http://127.0.0.1:8000/api/data/{id}/Parameters / payload fields
| Parameter | Type | Description |
|---|---|---|
| id | path | Transaction ID from buy response |
| search | query | Optional — search by id, ident or mobile on GET /api/data/?search= |
Code samples
cURL
curl -X GET "http://127.0.0.1:8000/api/data/1024/" \
-H "Authorization: Token YOUR_API_TOKEN" \
-H "Accept: application/json"
# List / search
curl -X GET "http://127.0.0.1:8000/api/data/?search=DATA3123" \
-H "Authorization: Token YOUR_API_TOKEN"Response sample (200)
JSON
{
"id": 1024,
"ident": "DATA31234567890abcdef",
"Status": "successful",
"mobile_number": "09037346247",
"plan_amount": "500.00"
}