INCOMING REQUEST API:

URL: https://demo.irecharge.net/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://demo.irecharge.net/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://demo.irecharge.net/api/request-status

                        URL PARAMETERS
                        --------------------------------------------------------------------------------
                        request_trxid: TRANSACTION ID
                        user: Reseller Username
                        api_key: API KEY


                        EXAMPLE
                        --------------------------------------------------------------------------------
                        url = https://demo.irecharge.net/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://demo.irecharge.net/api/offers

                        EXAMPLE
                        --------------------------------------------------------------------------------
                        https://demo.irecharge.net/api/offers
                        postmethod = array(
                            "operator_name" => 'gp' // optional
                        );
                        

Check Balance API:

URL: https://demo.irecharge.net/api/balance/

                            URL PARAMETERS
                            --------------------------------------------------------------------------------
                            user: Reseller Username
                            api_key: API KEY


                            EXAMPLE
                            --------------------------------------------------------------------------------
                            https://demo.irecharge.net/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://demo.irecharge.net/smsApi

                        URL PARAMETERS
                        --------------------------------------------------------------------------------
                        user: Login Username
                        Key: Password
                        sender: Irechargebd
                        Mobile: 01XXX-XXXXXX
                        Message: 'Hello'


                        EXAMPLE
                        --------------------------------------------------------------------------------
                        https://demo.irecharge.net/smsApi
                        postmethod = array(
                            "user" => Login Username
                            "Key" => Password
                            "sender" => Irechargebd
                            "Mobile" => 01XXX-XXXXXX
                            "Message" => 'Hello'
                        );
                        

Automation Cron:

Setup Cronjob *****

                            GET https://demo.irecharge.net/api
                        
OR

                            wget --quiet https://demo.irecharge.net/api