Introduction

This page contains guide for all bills plans on ruggedtelecom.com.ng.

Pay MeterBill

This page contains guide to Pay CableTV data on ruggedtelecom.com.ng.

ruggedtelecom.com.ng/api/bill/

ENDPOINT -- URL

Pay MeterBill

Send a post request to the below endpoint, You can use the PHP integration code below....

$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => '/api/bill/', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'
{
"disco" : "1",
"meter_type" : "prepaid or postpaid",
"meter_number" : "123333333",
"amount" : "500",
"request-id" : "123434",
"bypass" : false
}',
CURLOPT_HTTPHEADER => array( 'Content-Type: application/json', 'Authorization: Token [PIN][APIKEY]' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;

REQUEST TYPE -- POST Note: Please enter your correct four-digit Transaction PIN before your API key. Your PIN should be entered first, followed by the API key together.

Send a post request to the below endpoint.


Expected response:

{
"status" = "success",
"token": "40364652026905256691",
"units": "23unit",
"tariff": "StubTariff",
"customerAddress": "TESTMETER1",
"customerName": "NCwallet",
"disco": "Prepaid/Postpaid",
"Amount" = 500",
"oldbal": "1500",
"newbal": "1000",
"discount/charges": "15",
"request-id": "1234567890-"
}

REQUEST TYPE -- POST