PHP code example of consolefinance / api-client-php

1. Go to this page and download the library: Download consolefinance/api-client-php 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/ */

    

consolefinance / api-client-php example snippets




use \Console\Finance\AppClient;

$Client->set_api_key('YOUR API KEY');
$Client->set_token($_POST['token']);
$Client->set_state($_POST['state']);
$Client->send_payment_request();
bash
composer