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.ngPOST
/api/Airtime_funding/Airtime To Cash
POST — convert airtime to wallet
api:readRequired headers
| Header | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_TOKEN | Yes |
| Content-Type | application/json | Yes (POST/PUT) |
| Accept | application/json | Recommended |
Endpoint
POST
https://datavendor.ng/api/Airtime_funding/Code samples
cURL
curl -X POST "https://datavendor.ng/api/Airtime_funding/" \
-H "Authorization: Token YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"network":1,"mobile_number":"08012345678","amount":"1000"}'Request body (JSON)
JSON
{
"network": 1,
"mobile_number": "08012345678",
"amount": "1000"
}Response sample (200)
JSON
{
"Status": "processing",
"ident": "AIRFUND123456",
"amount": "1000.00"
}