PHP code example of vinkas / airwallex

1. Go to this page and download the library: Download vinkas/airwallex 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/ */

    

vinkas / airwallex example snippets


use Vinkas\Airwallex\Client;

$client = new Client();

$balances = $client->getBalances()->getCurrent()->array();

$balanceHistory = $client->getBalances()->getHistory()->object(); // Result will