Transaction API


S.No Attribute Descriptions Required
1 userid userid (See On Dashboard) true
2 token token (See In My Profile APISetting Menu) true
3 opcode opcode (OperatorCode - See Live Operator at last) true
4 number Transcation MobileNo true
5 amount Transcation Amount true
6 transid Client unique Id true
GET/POST: https://api.RechargeExchange.com/API.asmx/Transaction?userid=[UserId]&token=[APIToken]&opcode=[OpCode]&number=[MobileNo]&amount=[Amt]&transid=[UniqueID]
    
        {
        "status":"SUCCESS",
        "message":"Recharge Success/Fail/Peding",
        "transid":"34669(transid-Client unique Id)",
        "optransid":"MH02565853234(OperatorTransID)",
        "referenceid":"1565464(Website Reference TransID)",        
        "number":"7990607312",
        "amount":"30",
        "balance":"1516.30"
        }

        Status : SUCCESS / FAIL / PENDING
	Note : Don't send duplicate Trans id ,We are not resposible for duplicate transaction ,Please be carefully For Send Transaction Request.		
    
    

Balance API


S.No Attribute Descriptions Required
1 userid UserId (See On Dashboard) true
2 token token (See In My Profile APISetting Menu) true
GET/POST: https://status.rechargeexchange.com/API.asmx/BalanceNew?userid=[Userid]&token=[APIToken]
    
        {
        "status":"SUCCESS",
	"message":"Balance Found.",
	"balance":"1516.30",
	"sellbalance":"116.30",
        }
		Status : SUCCESS / FAIL 
    
	Note : Please Check Balance once in 10 mins otherwise We Block this facility from your Account. 
    

Transaction Status API


S.No Attribute Descriptions Required
1 userid UserId (See On Dashboard) true
2 token token (See In My Profile APISetting Menu) true
3 transid Client unique Id true
GET/POST: https://status.rechargeexchange.com/API.asmx/TransactionStatus?userid=[UserId]&token=[APIToken]&transid=[UniqueID]
    
        {
        "status":"SUCCESS",
	"optransid":"MH02565853234(OperatorTransID)",
        "referenceid":"1565464(Website TransId)",	
	"amount":"30",
	"number":"7990607312",
        "message":"Recharge Success/Fail/Peding"        
        }

        Status : SUCCESS / FAIL / PENDING
    
	Note : Please check Transaction Status after 5 min otherwise We Block this facility from your Account. 
	          Please check Transaction Status once in 5 min otherwise We Block this facility from your Account. 
	       While StatusCheck You got Pending In Response Then You have to Check Status Again For That Transaction.
		
	Fail Case : if Transaction goes Pending To Fail Then we Automatically Refund Amount  
			in Your Account and Transaction Status goes in Refund at website. 

    

Complain API


S.No Attribute Descriptions Required
1 userid UserId (See On Dashboard) true
2 token token (See In My Profile APISetting Menu) true
3 referenceid Our Referance unique Id(you got in Transaction Response) true
4 remark Remark Of Complain true
GET/POST: https://api.RechargeExchange.com/API.asmx/Complain?userid=[UserId]&token=[APIToken]&referenceid=[OurReferenceid]&remark=[ComplaintRemark]
    
        {
        "status":"SUCCESS",
	"complainid":"123(ComplainID)",
        "message":"Transaction Success/Fail/Peding"        
        }

        status : SUCCESS / FAIL 
    
	Note : Please Dont Send Fake Complain if we found, then We Block this facility from your Account.
	       Only Success Transaction Complain Book.		
	       please wait For Complain Resolve, Dont Send Duplicate Complain otherwise We block this functionality For You 

    

CallBack Response


S.No Attribute Descriptions Required
1 status SUCCESS / FAIL true
2 opid (MH02565853234)Operator Transaction ID true
3 yourtransid (8035)Your Unique TransactionID true
4 txnid (256)Our System TransactionID optional
5 number (7990607312)Trans MobileNo true
6 amount (30)Trans Amount true
7 message Fail Reason optional
GET: https://www.yourdomain.com/callback?status=[status]&opid=[opid]&yourtransid=[clientid]&txnid=[txnid]&number=[number]&amount=[amount]&message=[msg]
    
Note : 
1)We Send CallBack Response In GET Format Only.
2)We Only Give CallBack Response For Status Pending To Success,Fail
3)We Can't Give CallBack Response For Direct Success,Fail Response.

Example :
http://yourdomainname/Rechargeapi.aspx?status=SUCCESS&opid=MH02565853234&yourtransid=256
&txnid=80358989&number=7990607312&number=30&message=Recharge Success
    
    

OperatorCode List


GET/POST: https://api.RechargeExchange.com/API.asmx/OperatorList
    
        [{"Operator":"DishTV","OpCode":"10"},
		{"Operator":"TataSky","OpCode":"11"},
		{"Operator":"BSNLTopUp","OpCode":"12"},
		{"Operator":"RelianceJio","OpCode":"13"}]		
    

Live Operator


Operator OpCode