Вот кусок кода отвечающий за вывод:
$getTxn = $qiwi->getBalance('79991234567');
var_dump($getTxn);
А вот выводимый результат:
Б А Л А Н С => array(1) {
["accounts"] => array(2) {
[0] => array(9) {
["alias"] => string(13)
"qw_wallet_rub" ["fsAlias"] => string(9)
"qb_wallet" ["bankAlias"] => string(4)
"QIWI" ["title"] => string(6)
"WALLET" ["type"] => array(2) {
["id"] => string(6)
"WALLET" ["title"] => string(16)
"Visa QIWI Wallet"
}["hasBalance"] => bool(true)["balance"] => array(2) {
["amount"] => float(16)["currency"] => int(643)
}["currency"] => int(643)["defaultAccount"] => bool(true)
}[1] => array(9) {
["alias"] => string(10)
"mc_mts_rub" ["fsAlias"] => string(9)
"qb_mc_mts" ["bankAlias"] => string(4)
"QIWI" ["title"] => string(2)
"MC" ["type"] => array(2) {
["id"] => string(2)
"MC" ["title"] => string(13)
"Mobile Wallet"
}["hasBalance"] => bool(false)["balance"] => NULL["currency"] => int(643)["defaultAccount"] => bool(false)
}
}
}