INCOMING REQUEST API:
URL: https://msmirajtelecom.com/api/request
URL PARAMETERS -------------------------------------------------------------------------------- service: bdrecharge, bdmobilebank number: 01711XXXXXX operator: {Banglalink=BL, Robi=RB, Airtel=AT, Grameenphone=GP, Teletalk=TT, bkash=BK, Nagad=NG, Rocket=DB} amount: 10-10000 type: Prepaid=1, Postpaid=2, Skitto=3, CashIn, CashOut, Sendmoney user: Reseller Username api_key: API KEY EXAMPLE -------------------------------------------------------------------------------- url = https://msmirajtelecom.com/api/request postmethod = array( "service" => bdrecharge, "number" => 01711XXXXXX, "operator" => gp, "amount" => 10, "type" => 1, "user" => RMBD, "api_key" => E40QW2826263HMQ5B8S5903 ); RESPONSE -------------------------------------------------------------------------------- status: 200 succeess message: Response message status: 420 //wrong message: Response message //if API Devlopment mode on then checked api listed or not status: 500 message: "Api not found"
Status Tracking API:
URL: https://msmirajtelecom.com/api/request-status
URL PARAMETERS -------------------------------------------------------------------------------- request_trxid: TRANSACTION ID user: Reseller Username api_key: API KEY EXAMPLE -------------------------------------------------------------------------------- url = https://msmirajtelecom.com/api/request-status postmethod = array( "request_trxid" => 45566666, "user" => Rmbd, "api_key" => E40QW2826263HMQ5B8S5903 ); RESPONSE -------------------------------------------------------------------------------- posotion : Success,Pending,Processing,Waiting,Cancel trxid: BD5465656 lastbalance: 400.00 status : 10 message : found your data //if API Devlopment mode on then checked api listed or not status: 500 message: "Api not found"
Offer List:
https://msmirajtelecom.com/api/offers
EXAMPLE -------------------------------------------------------------------------------- https://msmirajtelecom.com/api/offers postmethod = array( "operator_name" => 'gp' // optional );
Check Balance API:
URL: https://msmirajtelecom.com/api/balance/
URL PARAMETERS -------------------------------------------------------------------------------- user: Reseller Username api_key: API KEY EXAMPLE -------------------------------------------------------------------------------- https://msmirajtelecom.com/api/balance postmethod = array( "user" => RMBD, "api_key" => E40QW2826263HMQ5B8S5903 ); RESPONSE -------------------------------------------------------------------------------- // for success true balance: 5000.00 status : 10 message : found your account balance // for success false status : 420 message : found your account balance //if API Devlopment mode on then checked api listed or not status: 500 message: "Api not found"
SMS API:
https://msmirajtelecom.com/smsApi
URL PARAMETERS -------------------------------------------------------------------------------- user: Login Username Key: Password sender: Irechargebd Mobile: 01XXX-XXXXXX Message: 'Hello' EXAMPLE -------------------------------------------------------------------------------- https://msmirajtelecom.com/smsApi postmethod = array( "user" => Login Username "Key" => Password "sender" => Irechargebd "Mobile" => 01XXX-XXXXXX "Message" => 'Hello' );
Automation Cron:
Setup Cronjob *****
GET https://msmirajtelecom.com/apiOR
wget --quiet https://msmirajtelecom.com/api