API Document

Request Service URL

http://mymobilerecharge.in/api/recharge/recharge.php?format=$format&user_id=$user_id&token=$token_id&recharge_no=$recharge_no&operator_code=$operator_code&amount=$amount&servicetype=$serviceType&merchant_id=$trans_id

Action Type : GET

  • 1 - (format) : Only Use (Json) Formate.
  • 2 - (user_id) : Your Registered Mobile No.
  • 3 - (token) : Your API Key provided by MyMobileRecharge.
  • 4 - (recharge_no) : Recharge Number.
  • 5 - (operator_code) : Operator Code.
  • 6 - (amount) : Recharge Amount.
  • 7 - (servicetype) : MR - Prepaid, DH - DTH.
  • 8 - (merchant_id) : Your Trans Id(It's Must Be Greater Then 6 Degit).

Response Structure (Response In Json Formate) :

{"status_code":"TXN","status_desc":"Transaction Successfully","opr_id":"123456","mypay_id":"1218441175LMHPST","merchant_id":"1250342724","charged_amt":0,"opening_bal":20069}

Request Service URL

http://www.your_domain_name.com/your_response_page.xyz?opr_id=$opr_id&mypay_id=$mypay_id&ref_no=$ref_no&status=$status&merchant_id=$merchant_id

Action Type : GET

  • 1 - (opr_id) : Operator Id.
  • 2 - (mypay_id) : Recharge Mymobilerecharge Id.
  • 3 - (ref_no) : Server Refrence No.
  • 4 - (status) : Actual Status.
  • 5 -(merchant_id) : Your Application Trans Id.

Response Structure When Success (Response In Json Formate) :

{"opr_id":"12345","mypay_id":"1281307478ZMLABU","ref_no":"123456","status_code":"TXN","status_desc":"Transaction Successfully","merchant_id":"yourTransId"}

Response Structure When Failed (Response In Json Formate) :

{"mypay_id":"1281307478ZMLABU","error_code":"TF","status_desc":"Transaction Failed","merchant_id":"yourTransId"}