1. Go to this page and download the library: Download dbseller/sdk_banco_itau 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/ */
dbseller / sdk_banco_itau example snippets
use DBSeller\SdkBancoItau\Configuration;
$config = Configuration::getDefaultConfiguration();
$config->setModoProducao(false); // Define o mode de uso
$config->setHost(''); // Host da API
$config->setUrlOAuth(''); // Url de autenticação
$config->setApiKey('client_id', ''); // Cliente ID
$config->setApiKey('client_secret', ''); // Cliente Secret
use GuzzleHttp\Client;
$clientHTTP = new Client();
use DBSeller\SdkBancoItau\API\OauthApi;
$clienteOauth = new OauthApi($clientHTTP, $config);
$accessTokenOauth = $clienteOauth->gerarAccessToken();
$config->setAccessToken($accessTokenOauth);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.