<?php $mp = new MP($clientid, $clientsecret); // Search payment data according to filters $searchResult = $mp->get_balance_history(); /* echo "<pre>"; print_r($searchResult); echo "</pre>"; */ // Show payment information ?> <a href="#" class="export">Export Table</a> <table class="ch-datagrid-controls" id="table_collections" > <tr style="background-color: lightgrey;" > <td scope="col">Id</td> <td scope="col">Payment Id</td> <td scope="col">Type</td> <td scope="col">Order</td> <td scope="col">Date created</td> <td scope="col">Available</td> <td scope="col">Amount</td> <td scope="col">Net</td> <td scope="col">Fee</td> <td scope="col">Total balance</td> <td scope="col">Financing fee</td> <td scope="col">MercadoPago Fee</td>