{% include 'header.twig' %}

<style>
    .Kpcss {

        min-height: 20px;
        padding: 19px;
        margin-bottom: 20px;
        background-color: #ffffff;
        border: 1px solid #000000;
        border-radius: 13px;

        box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, .2),
        -1px -1px 5px rgba(0, 0, 0, .1);

    }
    .Kpcss2 {
        min-height: 20px;
        padding: 19px;
        margin-bottom: 20px;
        background-color: #ffffff;
        border: 1px solid #059fff;
        border-radius: 13px;

        box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, .2),
        -1px -1px 5px rgba(0, 0, 0, .1);

    }  

        </style>      
<div class="wrapper-content">
    <div class="wrapper-content__header">
          </div>
    <div class="wrapper-content__body">
      <!-- Main variables *content* -->
      <div id="block_99">
        <div class="bg"></div>
        <div class="divider-top"></div>
        <div class="divider-bottom"></div>
        <div class="container-fluid">
		{% if contentText %}
{{ contentText }}
{% endif %}
      <div class="row justify-content-center">
        <div class="col-lg-8">
          <div  class="card">
            <div class="Kpcss2" class="center-big-content-block">
              <h2 class="mb-3">API</h2>
                    
	  <div class="table-responsive">
        <table class="table ">
      
                      <tbody>
                      <tr>
                        <td class="width-40">HTTP Method</td>
                        <td>POST</td>
                      </tr>
                      <tr>
                        <td>API URL</td>
                       	<td>{{ site["url"] }}/api/v2</td>
										</tr>
									                     <tr>
                        <td>API Key</td>
                        <td>Get an API key on the <a href="account">Account</a> page</td>
                      
                     </tr>
                                                                 <tr>
                        <td>Response format</td>
                        <td>JSON</td>
                      </tr>
                      </tbody>
                    </table>
                </div>
              

               <h4 class="m-t-md"><strong> Service List </strong></h4>
                     
	  <div class="table-responsive">
        <table class="table ">
      
                        <thead>
                     <tr>
                        <th class="width-40">parameters</th>
                        <th>Explanation</th>
                     </tr>
                  </thead>
                  <tbody>
                     <tr>
                        <td>key</td>
                        <td>Your API Key</td>
                     </tr>
                     <tr>
                        <td>action</td>
                        <td>services</td>
                     </tr>
                  </tbody>
               </table></div>
               <p><strong>Sample return</strong></p>
               <pre>[
    {
        "service": 1,
        "name": "Followers",
        "type": "Default",
        "category": "First Category",
        "rate": "0.90",
        "min": "50",
        "max": "10000"
    },
    {
        "service": 2,
        "name": "Comments",
        "type": "Custom Comments",
        "category": "Second Category",
        "rate": "8",
        "min": "10",
        "max": "1500"
    }
]</pre>
               <h4 class="m-t-md"><strong> New order </strong></h4>
               
               <div id="add_">
                         
	  <div class="table-responsive">
        <table class="table ">
      
                        <thead>
                        <tr>
                           <th class="width-40">Parameter</th>
                           <th>Explanation</th>
                        </tr>
                     </thead>
                     <tbody>
                        <tr>
                           <td>key</td>
                           <td>Your API Key</td>
                        </tr>
                        <tr>
                           <td>action</td>
                           <td>add</td>
                        </tr>
                        <tr>
                           <td>service</td>
                           <td>Service ID</td>
                        </tr>
                        <tr>
                           <td>link</td>
                           <td>Service connection</td>
                        </tr>
                        <tr>
                           <td>quantity</td>
                           <td>Quantity</td>
                        </tr>
                        <tr>
                           <td>runs (optionally)</td>
                           <td>Runs to deliver</td>
                        </tr>
                        <tr>
                           <td>interval (optionally)</td>
                           <td>Interval in minutes</td>
                        </tr>
                     </tbody>
                  </table>
               </div></div>
               <p><strong>Sample return</strong></p>
               <pre>{
    "order": 23501
}</pre>
               <h4 class="m-t-md"><strong> Order status </strong></h4>
                     
	  <div class="table-responsive">
        <table class="table ">
      
                        <thead>
                     <tr>
                        <th class="width-40">Parameter</th>
                        <th>Explanation</th>
                     </tr>
                  </thead>
                  <tbody>
                     <tr>
                        <td>key</td>
                        <td>Your API Key</td>
                     </tr>
                     <tr>
                        <td>action</td>
                        <td>status</td>
                     </tr>
                     <tr>
                        <td>order</td>
                        <td>Order ID</td>
                     </tr>
                  </tbody>
               </table></div>
               <p><strong>Sample return</strong></p>
               <pre>{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
}</pre>
               <h4 class="m-t-md"><strong> User balance </strong></h4>
                      
	  <div class="table-responsive">
        <table class="table ">
      
                        <thead>
                     <tr>
                        <th class="width-40">Parameter</th>
                        <th>Explanation</th>
                     </tr>
                  </thead>
                  <tbody>
                     <tr>
                        <td>key</td>
                        <td>Your API Key</td>
                     </tr>
                     <tr>
                        <td>action</td>
                        <td>balance</td>
                     </tr>
                  </tbody>
               </table></div>
               <p><strong>Sample return</strong></p>
               <pre>{
    "balance": "100.84292",
    "currency": "USD"
}</pre>
               <a href="example.txt" class="btn btn-default m-t" target="_blank">Sample PHP file</a>
            </div>
         </div>
      </div></div></div></div></div>{% if contentText2 %}
{{ contentText2 }}
{% endif %}
{% include 'footer.twig' %}