Recharge API

Recharge API

https://mobilerechargenow.com/recharge.php?username=$username&apikey=$apikey&type=$type&format=$format&no=$number&amount=$amount&operator=$operator&circle=$circle&user=$user

Parameters Description Example
username Find on our apikey page MRN1223334
apikey Find on our apikey page 56546456
type type 1 for mobile, 2 for DTH, 3 for data card 4 for PostPaid 1
format output format text/xml/json
no recharge number 9012345670
amount Recharge amount 10
operator recharge operator code AT
circle recharge circle code 1
user unique transaction id , maximum length is 10 AT12334304

//Output text

#Orderid,#status,#mobile,#amount,#TransId,#opid,#service,#bal,#resText,#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>
<operatorId>#operatorId</operatorId>
<service>#service</service>
<bal>#balance</bal>
<restext>#message</restext>
<billAmount>#billAmount</billAmount>
</data>

//Output json

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

Recharge Status API

https://mobilerechargenow.com/api-status.php?username=$username&apikey=$apikey&format=$format&txnid=$txnid

Parameters Description Example
username Find on our apikey page MRN1223334
apikey Find on our apikey page 56546456
format output format text/xml/json
txnid unique pass transaction id AT12334304

//Output text

#Orderid,#status,#mobile,#amount,#TransId,#service,#reqTime,#bal,#resText

//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>
<service>#service</service>
<reqTime>#reqTime</reqTime>
<bal>#bal</bal>
<resText>#resText</resText>
</data>

//Output json

{"orderId":"#Orderid","status":"#status","mobile":"#mobile","amount":"#amount","TransId":"#TransId",
"service":"#service","reqTime":"#reqTime","bal":"#bal","resText":"#resText"}