xendit / xendit-php

Xendit REST API Client for PHP - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets Services, xenPlatforms
https://developers.xendit.co/api-reference/
MIT License
153 stars 76 forks source link

getBalance missing parameters #154

Closed jhourlad closed 2 years ago

jhourlad commented 2 years ago

Documentation says getBalance($account_type, $params)

but Xendit\Balance class has public static function getBalance($account_type = null)

xen-HendryZheng commented 2 years ago

HI @jhourlad Thank you for your comment. Did you composer update to the latest version yet? Please find the latest source we have here: https://github.com/xendit/xendit-php/blob/master/src/Balance.php#L66-L71