<?php $__env->startSection('content'); ?>


                                 <div class="nk-content nk-content-fluid">
                        <div class="container-xl wide-lg">
                            <div class="nk-content-body">
               </div>
                                            <div class="nk-block-between-md g-4">
                                                <div class="nk-block-head-content">
                                                    <h4 class="nk-block-title fw-normal">Internet Data Developer API</h4>
                                                    <div class="nk-block-des"></div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="nk-block">
                                            <div class="support-topic-details card card-bordered">
                                                <div class="card-inner">
                                                    <div class="entry">
                                                        <h6 class="text-primary">Using Your APi Key</h6>

                                                        <p><table class="table-responsive">
                                                            <thead style="outline: none !important;">
	 	<tr>
			<td style="outline: none !important; padding: 8px; line-height: 20px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221);">
			APIKey</td>
			<td style="outline: none !important; padding: 8px; line-height: 20px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221);">
			<?php echo e(Auth::User()->token); ?></td>
		</tr>
	</thead>
	<tbody style="outline: none !important;">
		<tr style="outline: none !important;">
			<td style="border-left:1px solid rgb(221, 221, 221); border-top:1px solid rgb(221, 221, 221); outline: none !important; padding: 8px; line-height: 20px; text-align: left; vertical-align: top; ">
			MobileNetwork</td>
			<td style="border-left:1px solid rgb(221, 221, 221); border-top:1px solid rgb(221, 221, 221); outline: none !important; padding: 8px; line-height: 20px; text-align: left; vertical-align: top; ">
			<p style="outline: none !important; margin: 0px 0px 10px;">01 for
			MTN</p>
			<p style="outline: none !important; margin: 0px 0px 10px;">02 for
			Glo</p>
			<p style="outline: none !important; margin: 0px 0px 10px;">03 for
			Etisalat</p>
			<p style="outline: none !important; margin: 0px 0px 10px;">04 for
			Airtel</p>
			</td>
		</tr>

		<tr style="outline: none !important;">
			<td style="outline: none !important; padding: 8px; line-height: 20px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221);">
			DataPlan</td>
			<td style="outline: none !important; padding: 8px; line-height: 20px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221);">
			<p style="outline: none !important; margin: 0px 0px 10px;"><b>Available
			Data Plans </b></p>

<table class="table">
    <thead>
        <tr>
            <th scope="col">Network Codes</th>
            <th scope="col">Plan</th>
            <th scope="col">Plan Code</th>
            <th scope="col">Plan Cost</th>
        </tr>
    </thead>
    <tbody>
        <?php $__currentLoopData = $bundle; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <th><?php echo e(App\Internet::whereCode($data->code)->first()->name); ?><br><?php echo e($data->code); ?></th>
            <td><?php echo e($data->name); ?></td>
            <td><?php echo e($data->plan); ?></td>
            <td>
                <span class="badge label-inline badge-info font-weight-bold">
                    <?php echo e($basic->currency); ?><?php echo e($data->cost); ?>

                </span>
            </td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>

			 </td>
		</tr>
		<tr>
			<td style="border-left:1px solid rgb(221, 221, 221); border-top:1px solid rgb(221, 221, 221); outline: none !important; padding: 8px; line-height: 20px; text-align: left; vertical-align: top; ">
			MobileNumber</td>
			<td style="border-left:1px solid rgb(221, 221, 221); border-top:1px solid rgb(221, 221, 221); outline: none !important; padding: 8px; line-height: 20px; text-align: left; vertical-align: top; ">
			<p style="outline: none !important; margin-left: 0px; margin-right: 0px; margin-top: 0px; margin-bottom: 10px">
			Recipient Mobile Number</td>
		</tr>

		</table>
                                                        </p>
                                                        <h5 class="text-primary">How it works</h5>
                                                        <p>
                                                           Lets Buy 1GB of MTN Internet Data for <b>08034333243</b><br>

https://<?php echo e($basic->siteurl); ?>/developer-apiV1/internetdata/YOUR_API_KEY/Network_Code/Internet_Plan/Phone_Number<br>

<b>API Call Will Be As Follow:</b><br>
https://<?php echo e($basic->siteurl); ?>/developer-api-V1/internetdata/<?php echo e(Auth::User()->token); ?>/01/1000/08034333243<br>

<b>JSON response</b>

{"status":"Successful","phone":"08024333243","amount":"100","network":"01","trx_id":"GFST627HJT"}

                                                        </p>
                                                        <h5 class="text-primary">Query A Transaction</h5>
                                                        <p>Now lets query the transaction executed above using the transaction number as shown by the Json Response:</p>
                                                        <b>API Syntax Will Be As Follow:</b><br>
https://<?php echo e($basic->siteurl); ?>/developer-api-V1/query_internetdata/YOUR_API_KEY/TRX_ID<br>

<b>API Call Will Be As Follow:</b><br>
https://<?php echo e($basic->siteurl); ?>/developer-api-V1/query_internetdata/<?php echo e(Auth::User()->token); ?>/GFST627HJT<br>
<b>Query JSON response</b><br>

{"status":"Successful","type":"Internet Data","amount":"500","network":"01","phone":"08023222333","trx_id":"6L48RKZCIM","date":{"date":"2020-07-07 08:25:37.000000","timezone_type":3,"timezone":"UTC"}}

                                                        <img src="<?php echo e(asset('dash-assets/images/support.jpg')); ?>" alt="" />
                                                         </div>
                                                    <div class="support-topic-meta">
                                                        <div class="support-topic-author">

                                                        </div>
                                                        <div class="support-topic-react">
                                                            <ul class="react-list">
                                                                <li class="title"><span>Was this developer API page helpful?</span></li>
                                                                <li class="react-good">
                                                                    <a title="Good" data-toggle="tooltip" href=" "><em class="icon ni ni-happyf-fill"></em></a>
                                                                </li>
                                                                <li class="react-ok">
                                                                    <a title="Fair" data-toggle="tooltip" href=" "><em class="icon ni ni-meh-fill"></em></a>
                                                                </li>
                                                                <li class="react-bad">
                                                                    <a title="Bad" data-toggle="tooltip" href=" "><em class="icon ni ni-sad-fill"></em></a>
                                                                </li>
                                                            </ul>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                        </div>

                </div>


<?php $__env->stopSection(); ?>

<?php echo $__env->make('include.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>