API Documentation

Complete developer guide for integrating with DaltechsubApi VTU services. Build powerful applications with our comprehensive API.

Get Services

GET

Use this endpoint to get the network id, airtime pricing, data plans etc.

https://daltechsubapi.com.ng/api/services/?service=servicename
Service Names:
  • network
  • airtime
  • data
  • cable-provider
  • cabletv
  • electricity
  • exampin
  • data-category
  • datapin
  • recharge-card
Example Request:
https://daltechsubapi.com.ng/api/services/?service=network
Example Response:
{
  "status": "success",
  "msg": "Network Retrieved",
  "response": [
    {
      "id": "1",
      "network": "MTN",
      "status": "On"
    },
    {
      "id": "2",
      "network": "AIRTEL",
      "status": "On"
    },
    {
      "id": "3",
      "network": "GLO",
      "status": "On"
    },
    {
      "id": "4",
      "network": "9MOBILE",
      "status": "On"
    }
  ]
}

Fetch Wallet Balance

GET

Retrieve your current account balance.

https://daltechsubapi.com.ng/api/user/
Example Response:
{
  "name": "Yusuf Ibrahim",
  "balance": "5,577.00",
  "status": "success"
}

Purchase Airtime

GET

Purchase airtime for any Nigerian network.

https://daltechsubapi.com.ng/api/airtime/
Payload:
{
  "network": "1",
  "phone": "07032529431",
  "ref": "AIRTIME123456789",
  "airtime_type": "VTU",
  "ported_number": true,
  "amount": "100"
}
Response:
{
  "status": "success",
  "Status": "successful"
}

Purchase Data

GET

Purchase data bundles for all networks.

https://daltechsubapi.com.ng/api/data/
Payload:
{
  "network": "1",
  "phone": "07032529431",
  "ref": "DATA12345",
  "plan": "1",
  "ported_number": true
}
Response:
{
  "status": "success",
  "Status": "successful",
  "true_response": "MTN SME 500 MB for 09130593857. Response: Dear Customer, You have successfully shared 500MB Data to 2349130593857. Your SME data balance is 30424.18GB expires 26/10/2024. Thankyou"
}

Verify Cable TV

GET

Verify cable TV subscription details.

https://daltechsubapi.com.ng/api/cable/verify/
Payload:
{
  "provider": "1",
  "iucnumber": "73737267672"
}
Response:
{
  "status": "success",
  "Status": "successful",
  "msg": "Ibrahim Yusuf",
  "Customer_Name": "Ibrahim Yusuf"
}

Purchase Cable TV

GET

Purchase cable TV subscriptions.

https://daltechsubapi.com.ng/api/cabletv/
Payload:
{
  "provider": "1",
  "iucnumber": "73737267672",
  "plan": "3",
  "ref": "4545567k4h5300",
  "subtype": "renew/change",
  "phone": "07032529431"
}
Response:
{
  "status": "success",
  "Status": "successful"
}

Verify Meter Number

GET

Verify electricity bill details.

https://daltechsubapi.com.ng/api/electricity/verify/
Payload:
{
  "provider": "1",
  "meternumber": "24567665767",
  "metertype": "prepaid/postpaid"
}
Response:
{
  "status": "success",
  "Status": "successful",
  "msg": "Ibrahim Yusuf",
  "Customer_Name": "Ibrahim Yusuf"
}

Purchase Electricity

GET

Pay electricity bills.

https://daltechsubapi.com.ng/api/electricity/
Payload:
{
  "provider": "1",
  "meternumber": "24567665767", 
  "amount": "1000",
  "metertype": "prepaid",
  "phone": "07032529431",
  "ref": "METER_2eertt567ye678"
}
Response:
{
  "status": "success",
  "Status": "successful", 
  "msg": "123456789",
  "token": "123456789"
}

Purchase Exam Pin

GET

Purchase examination pins (WAEC, NECO, etc.).

https://daltechsubapi.com.ng/api/exampin/
Payload:
{
  "provider": "1",
  "quantity": "2",
  "ref": "2eertt567ye678"
}
Response:
{
  "status": "success",
  "Status": "successful",
  "msg": "123456,123456,123456",
  "pin": "123456,123456,123456",
  "pins": "123456,123456,123456",
  "token": "123456,123456,123456"
}

Purchase Recharge Pin

GET

Generate and manage recharge pins.

https://daltechsubapi.com.ng/api/rechargepin/
Payload:
{
  "network": "1",
  "quantity": "2",
  "plan": "5",
  "businessname": "Prime Biller",
  "ref": "EPIN_34356787653"
}
Response:
{
  "status": "success",
  "Status": "successful",
  "quantity": "3",
  "pin": "123456,123456,123456",
  "serial": "123456,123456,123456",
  "load_pin": "*123*2*pin#",
  "check_balance": "*223#"
}

Purchase Data Pin

GET

Generate and manage data pins.

https://daltechsubapi.com.ng/api/datapin/
Payload:
{
  "network": "1",
  "quantity": "2",
  "data_plan": "5",
  "businessname": "Prime Biller",
  "ref": "34356787653535354"
}
Response:
{
  "status": "success",
  "Status": "successful",
  "quantity": "3",
  "pin": "123456,123456,123456",
  "serial": "123456,123456,123456",
  "load_pin": "*123*2*pin#",
  "check_balance": "*223#"
}

Transaction Status

GET

Check the status of a transaction using the reference.

https://daltechsubapi.com.ng/api/transaction/status/?reference=transaction_ref
Example Request:
https://daltechsubapi.com.ng/api/transaction/status/?reference=DATA_461305381726952097
Response:
{
  "status": "success",
  "msg": "Transaction Details Retrieved Successfully",
  "response": {
    "transref": "DATA_461305381726952097",
    "amount": "261",
    "status": "success",
    "oldbal": "3135.25",
    "newbal": "2874.25",
    "date": "2024-09-21 21:55:40",
    "service": "Data",
    "description": "MTN SME 1GB for 07032529431. Response: Dear Customer, You have successfully shared 1GB Data to 2347032529431. Your SME data balance is 24067.74GB expires 28/10/2024. Thankyou"
  }
}