Billpay API

Billpay API

https://mobilerechargenow.com/billpay/payment.php?username=$username&apikey=$apikey&format=$format&type=1&no=$number&amount=$amount&operator=$operator&txnid=$txnid

Parameters Description Example
username Find on our apikey page MRN1223334
apikey Find on our apikey page 56546456
type type 1 for ElectriCity, 2 for BroadBand, 3 for LandLine, 4 for Insurance, 5 for Gas, 6 for Water 1
format output format text/xml/json
no number 9012345670, LandLine without 0
amount pay amount 10
operator operator code WBSEDCL
txnid unique transaction id , maximum length is 10 AT12334304
optional1optional1 if need-
optional2optional2 if need-

//Output text

#Orderid,#status,#mobile,#amount,#TransId,#service,#bal,#resText,#creditUsed,#billName,#billAmount

//Output xml

<?xml version="1.0" encoding="UTF-8"?>
<data>
<orderId>#orderId</orderId>
<status>#status</status>
<mobile>#mobile</mobile>
<amount>#amount</amount>
<TransId>#TransId</TransId>
<operatorName>#operatorName'</operatorName>
<service>#service</service>
<bal>#balance</bal>
<restext>#message</restext>
<creditUsed>#billAmount</creditUsed>
<billName>#billName</billName>
<billAmount>#billAmountdue</billAmount>
</data>

//Output json

{"orderId":"#Orderid","status":"#status","mobile":"#mobile","amount":"#amount","TransId":"#TransId",
"service":"#service","bal":"#bal","resText":"#resText","creditUsed":"#creditUsed","billName":"#billName","billAmount":"#billAmount"}