📡 Reseller Data API Documentation

Integrate our API and start selling data plans directly from your platform using your API key.

🔐 Authentication

Include your API key in the request headers:

Authorization: Bearer YOUR_API_KEY

📬 Endpoint

POST https://cokertobilobajoy.com.ng/senddata.php

📤 Request Format JSON

{
  "phone": "08012345678",
  "plan_id": 365,
  "network_id": 1
}

📦 Sample cURL Request

curl -X POST https://cokertobilobajoy.com.ng/senddata.php \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "08012345678",
    "plan_id": 365,
    "network_id": 1
  }'

✅ Successful Response

{
  "status": "success",
  "message": "Data delivered"
}

❌ Error Response

{
  "status": "error",
  "message": "Data failed. Wallet refunded."
}

📊 Available Plans and Pricing

Network IDs: MTN = 1, Airtel = 2

Network Plan Plan ID Price (₦)
MTN1GB365200
MTN500MB401150
MTN2GB371500
MTN10GB3972200
Airtel1GB125200
Airtel500MB414500
Airtel2GB406500
Airtel10GB1382200

💳 Buy API Key Access