Home Introduction Airtime Api Data Api Internet Api Cable Api Electricity Api Balance Check
Internet - EasyPoint9ja Api Documentation

Internet Api

The easypoint9ja Internet API is a RESTful interface that enables you to seamlessly integrate a range of services from the easypoint9ja platform into your web or mobile application.

Hero Image

POST /api/data

Use this endpoint to send airtime to a Nigerian mobile number.

Parameters

Parameter Type Required Description
phone string R Recipient phone number (e.g. 08012345678)
amount integer O Amount is determine from the variation code provided
Variation Code string R Example: mtn, airtel, glo, 9mobile
billersCode string R The account ID you wish to make the Subscription payment on.
api_key string R Your API key
Request ID string R Request Id (for custom tracking)

Endpoint Url

Live: https://easypoint9ja.com/api/internet/

Sandbox: https://sandbox.easypoint9ja.com/api/internet/

Sample Request


$url = "https://easypoint9ja.com/api/internet/";

$data = [
    "api_key" => "YOUR_API_KEY",
    "request_id" => 63634570027309,
    "serviceID" => "mtn",
    "billersCode" => "",
    "variation_code" => "mtn-data",
    "phone" => 09011111111
];

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "Content-Type: application/json"
]);

$response = curl_exec($ch);
$error = curl_error($ch);
curl_close($ch);