datavendor.ng merchant API
API Documentation
REST API for data, airtime, cable TV, electricity, exam pins, recharge cards and bulk SMS. Authenticate with your token and call the live base URL below.
JSON over HTTPSToken authenticationLive pricing
Base URL
https://datavendor.ngGET
/api/topup/{id}/Query Airtime Transaction
GET — check airtime order status
api:readRequired headers
| Header | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_TOKEN | Yes |
| Content-Type | application/json | Yes (POST/PUT) |
| Accept | application/json | Recommended |
Endpoint
GET
https://datavendor.ng/api/topup/{id}/Code samples
cURL
curl -X GET "https://datavendor.ng/api/topup/512/" \
-H "Authorization: Token YOUR_API_TOKEN" \
-H "Accept: application/json"Response sample (200)
JSON
{
"id": 512,
"ident": "AIRTIME1234567890",
"Status": "successful",
"amount": "100.00",
"mobile_number": "08012345678"
}