gettopup merchant API
API Documentation
Public docs show the sandbox base URL for testing. Live production endpoints unlock after your API access is approved.
JSON over HTTPSSandbox examplesApprove for live
Sandbox docs mode
Sandbox base URL
https://sandbox.gettopup.com.ngGET
/api/wallet-summary/Query Data Transaction
Prefer unified wallet-summary
api:readLegacy per-service query still works, but the public Get Transactions surface is now `GET /api/wallet-summary/` (alias `GET /api/transactions/`). Filter with `?category=data`.
Required headers
| Header | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_TOKEN | Yes |
| Content-Type | application/json | Yes (POST/PUT) |
| Accept | application/json | Recommended |
Endpoint
GET
https://sandbox.gettopup.com.ng/api/wallet-summary/Parameters / payload fields
| Parameter | Type | Description |
|---|---|---|
| category | query | Use `data` for data orders |
| search | query | Search by id, ident or mobile |
| page | query | Pagination page number |
| id | path | Detail: GET /api/wallet-summary/{id}/ |
Code samples
cURL
curl -X GET "https://sandbox.gettopup.com.ng/api/wallet-summary/?category=data&page=1" \
-H "Authorization: Token YOUR_API_TOKEN" \
-H "Accept: application/json"
# Single transaction
curl -X GET "https://sandbox.gettopup.com.ng/api/wallet-summary/1024/" \
-H "Authorization: Token YOUR_API_TOKEN" \
-H "Accept: application/json"Response sample (200)
JSON
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1024,
"ident": "DATA31234567890abcdef",
"category": "data",
"Status": "successful",
"mobile_number": "09037346247",
"plan_amount": "500.00"
}
]
}Sandbox examples only — live host and production keys appear after API access is approved. Also available as GET /api/transactions/ with the same query params.