PHP code example of italodeveloper / zoop-sdk
1. Go to this page and download the library: Download italodeveloper/zoop-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
italodeveloper / zoop-sdk example snippets
php
use Zoop\Core\Config;
use Zoop\ZoopClient;
Zoop */
$marketplace = 'd0024d3f01ea4xxxxxxxxxx'; /* ID do Marketplace **/
$vendedor = '38e0c71e9c7c465080bxxxxxxxxx'; /** ID do vendedor do marketplace */
$client = new ZoopClient(
Config::configure($token, $marketplace, $vendedor)
);
php
try {
$listarTransacoes = $client->getAllTransactions();
print_r($listarTransacoes);
#var_dump($listarTransacoes);
} catch (\Exception $e) {
echo $e->getMessage() . PHP_EOL;
}