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/validateiuc/Validate IUC
GET — verify cable smartcard before purchase
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/validateiuc/Parameters / payload fields
| Query param | Type | Required | Description |
|---|---|---|---|
| smart_card_number | string | Yes | IUC / smartcard number |
| cablename | integer | Yes | Cable provider ID (GOTV, DSTV, STARTIMES) |
Code samples
cURL
curl -X GET "https://datavendor.ng/api/validateiuc/?smart_card_number=1234567890&cablename=1" \
-H "Authorization: Token YOUR_API_TOKEN"Response sample (200)
JSON
{
"invalid": false,
"name": "JOHN DOE"
}