<?php
	include'session.php';
	include'../connection.php';
	include'../functions.php';
?>
<html>
<head>
	<title>Api Documents</title>
	<!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    
	<link rel="icon" href="images/logo.png" type="image/gif" sizes="16x16">
	
	<!-- Admin CSS File Link -->
	<link rel="stylesheet" href="css/style.css">
	
	<!-- User JAVA SCRIPT File Link -->
	<script type="text/javascript" src="js/script.js"></script>

	
	<!-- Font Awesome Icone -->
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
	
	<style>
		.div1{
			background:;
			width:98%;
			margin:1%;
			padding:10px;
			overflow:auto;
		}
		.subDiv{background:white; height:auto; margin:20px 0px 40px 0px; padding:10px 5px 30px 5px; text-align:center; overflow-x:auto; border:1 px solid; box-shadow: 5px 10px 10px #888888; border-radius:2px;}
		.subDiv h3{font-size:20px; margin:10px;}
		.subDiv hr{width:150px;}
		
		.div1 input, .div1 select{
			height:30px;
			max-width:150px;
			font-size:16px;
			padding:2px 7px;
			border-radius:5px;
			border:solid #6b5127 1px;
			overflow:hidden;
			margin:10px 10px 0 5px;
		}
		input[type=submit]{
			background:#6b5127;
			color:white;
			transition:1s;
			cursor:pointer;
		}
		input[type=submit]:hover{
			background:white;
			color:#6b5127;
			transition:1s;
		}
		.div2{
			background:#f7f7f7;
			width:30%;
			height:400px;
			float:left;
			text-align:center;
			padding:0 10px 10px 10px;
			overflow-x:auto;
		}
		.div2 table{
			width:100%;
			text-align:center;
			font-size:14px;
			border-collapse:collapse;
			padding:2px 10px;
		}
		table th{
			background:#6b5127;
			color:white;
			height:40px;
			border:solid white 1px;
			padding:2px 5px;
		}
		table td{
			background:white;
			height:40px;
			border:solid black 1px;
			padding:2px 5px;
		}
		.data-content{overflow:auto; height:60%;}
		@media(max-width:768px)
		{
			.div1{
				background:;
				width:100%;
				height:auto;
				margin:10px 0 0 0;
				padding:0;
				text-align:center;
			}.div1 input{
				width:90%;
				margin:10px;
			}
			.div2{
				width:100%;
				margin:10px 0 0 0;
				padding:0px;
				text-align:center;
			}
		}
	</style>
	<link rel="stylesheet" href="css/mediaStyle.css">
</head>
<body>
	<!--Header Divison-->
	<?php
		require'header.php';
	?>
	
	<!--Container Division-->
	<div class="container">
		<?php
			include'menu.php';
		?>
		<div class="content">
			<div class="head">
				<div class="title"><p>Api Documents :-</p></div>
				<div class="msg"><marquee><?php include'../msg.php'; ?></marquee></msg>
			</div><hr>
			<div class="data-content">
				<form method="post">
					<div class="div1">
					    <div class="subDiv" style="font-size:.9vw">
					        <center><h3>-: Recharge Url :-</h3><hr></center><br><br>
					        <pre>"http://llprecharge.in/LLPRECHARGE/user/API.php?userid=Your_User_Id&token=API_Token&partnerid=Your_Recharge_Id&opcode=Operator_code&mobile=Mobile_No.&amount=Recharge_amount"</pre>
					    </div>
					    
					    <div class="subDiv" style="font-size:1.2vw">
					        <center><h3>-: Balance Check Url :-</h3><hr></center><br><br>
					        <pre>"http://llprecharge.in/LLPRECHARGE/user/api_balance.php?userid=Your_User_Id&token=API_Token"</pre>
					    </div>
					    
					    <div class="subDiv" style="font-size:1.1vw">
					        <center><h3>-: Status Check Url :-</h3><hr></center><br><br>
					        <pre>"http://llprecharge.in/LLPRECHARGE/user/api_check_status.php?userid=Your_UserId&token=Api_Token&orderid=Your_Transaction_Id"</pre>
					    </div>
					    
					    <div class="subDiv" style="font-size:1.1vw">
					        <center><h3>-: Register Complain Url :-</h3><hr></center><br><br>
					        <pre>"http://llprecharge.in/LLPRECHARGE/user/api_register_complain.php?userid=Your_UserId&token=Api_Token&orderid=Your_Transaction_Id&UsrMsg=Your_Messege (optional)"</pre>
					    </div>
					    
					    <div class="subDiv" style="font-size:1.1vw">
					        <center><h3>-: Check Dispute Url :-</h3><hr></center><br><br>
					        <pre>"http://llprecharge.in/LLPRECHARGE/user/check_dispute_status.php?userid=Your_UserId&token=Api_Token&complainid=Unique Complain Id"</pre>
					    </div>
					    
			        <div class="subDiv" style="font-size:1.2vw">
				        <center><h3>-: Operator Code List :-</h3><hr></center><br>
				        <i class="fa fa-hand-point-right"></i> <a href="commission_slab.php" target="_blank">Click here for Operator Code</a>
				    </div>
					    <div class="div2">
					        <h4>Direct Response Perameters</h4>
					        <table cellpadding="10">
					            <tr>
					                <th>KeyWord</th><th>Result</th>
					            </tr>
					            <tr>
					                <td>status</td><td>SUCCESS/FAILED/PENDING</td>
					            </tr>
					            <tr>
					                <td>msg</td><td>Reason For Failed</td>
					            </tr>
					            <tr>
					                <td>partnertid</td><td>Api User's Recharge Id</td>
					            </tr>
					            <tr>
					                <td>orderid</td><td>LLP Transaction Id</td>
					            </tr>
					            <tr>
					                <td>opid</td><td>Referance Id From Operator</td>
					            </tr>
					            <tr>
					                <td>bal</td><td>API Wallet Balance</td>
					            </tr>
					            <tr>
					                <td colspan="2">Note:- Response Available In JSON Code</td>
					            </tr>
					        </table>
					    </div>
					    
					    
					    <div class="div2">
					    
					        <h4>CallBack Response Perameters</h4>
					        <table cellpadding="10">
					            <tr>
					                <th>KeyWord</th><th>Result</th>
					            </tr>
					            <tr>
					                <td>status</td><td>SUCCESS/FAILED/PENDING</td>
					            </tr>
					            <tr>
					                <td>msg</td><td>Reason For Failed</td>
					            </tr>
					            <tr>
					                <td>partnertid</td><td>Api User's Recharge Id</td>
					            </tr>
					            <tr>
					                <td>orderid</td><td>LLP Transaction Id</td>
					            </tr>
					            <tr>
					                <td>opid</td><td>Referance Id From Operator</td>
					            </tr>
					            <tr>
					                <td>complain_id</td><td>Unique complain Id</td>
					            </tr>
					            <tr>
					                <td>comp_status</td><td>REJECT/REFUND</td>
					            </tr>
					            <tr>
					                <td>msg</td><td>Messege About Complain</td>
					            </tr>
					            <tr>
					                <td colspan="2">Note:- Recieve Response By GET Method</td>
					            </tr>
					        </table>
					    </div>
					    
					    
					    <div class="div2">
					        <h4>Check API Response Perameters</h4>
					        <table cellpadding="10">
					            <tr>
					                <th>KeyWord</th><th>Result</th>
					            </tr>
					            <tr>
					                <td>status</td><td>SUCCESS/FAILED/PENDING</td>
					            </tr>
					            <tr>
					                <td>msg</td><td>Invalid Input</td>
					            </tr>
					            <tr>
					                <td>partnertid</td><td>Api User's Recharge Id</td>
					            </tr>
					            <tr>
					                <td>orderid</td><td>LLP Transaction Id</td>
					            </tr>
					            <tr>
					                <td>opid</td><td>Referance Id From Operator</td>
					            </tr>
					            <tr>
					                <td colspan="2">Note:- Response Available In JSON Code</td>
					            </tr>
					        </table>
					    </div>
					    
					    
					    <div class="div2">
					        <h4>Register Complain Perameters</h4>
					        <table cellpadding="10">
					            <tr>
					                <th>KeyWord</th><th>Result</th>
					            </tr>
					            <tr>
					                <td>status</td><td>SUBMIT/NOTSUBMIT</td>
					            </tr>
					            <tr>
					                <td>msg</td><td>Messege For Submit/NotSubmit Your Complain</td>
					            </tr>
					            <tr>
					                <td>complainid</td><td>Unique Id for Your Complain</td>
					            </tr>
					            <tr>
					                <td colspan="2">Note:- Response Available In JSON Code</td>
					            </tr>
					        </table>
					    </div>
					    
					    
					    <div class="div2">
					        <h4>Check Dispute Response Perameters</h4>
					        <table cellpadding="10">
					            <tr>
					                <th>KeyWord</th><th>Result</th>
					            </tr>
					            <tr>
					                <td>status</td><td>SUCCESS/FAILED</td>
					            </tr>
					            <tr>
					                <td>comp_status</td><td>SUBMIT/REJECT/REFUND</td>
					            </tr>
					            <tr>
					                <td>opid</td><td>Operator Reference Id</td>
					            </tr>
					            <tr>
					                <td>msg</td><td>Messege For REJECT/REFUND Your Complain</td>
					            </tr>
					            <tr>
					                <td colspan="2">Note:- Response Available In JSON Code</td>
					            </tr>
					        </table>
					    </div>
					</div>
			</div>
		</div>
	</div>
	<?php
		require'footer.php';
	?>
</body>
</html>