composer require osenco/kcb
use Osen\Kcb\Buni;
$buni = new Buni(array(
'token' => '',
'env' => 'sandbox',
));
$rate = $buni->forex()->rates('USD');
// or $rate = $buni->forex()->from('EUR')->to('USD')->exchange(100);
// parse response
$json = $rate->json();
$object = $rate->object();
$account = $buni->account()->info();
$json = $account->json();
$object = $account->object();
$pay = $buni->vooma()->pay(100);
$json = $pay->json();
$object = $pay->object();