Xendit REST API Client for PHP - Card, Virtual Account, Invoice, Disbursement, Recurring Payments, Payout, EWallet, Balance, Retail Outlets Services, xenPlatforms
152
stars
76
forks
source link
check balance error "Ledger accounts found for both IDR and PHP currency, we don't know which to pick" #191
Closed
capcaicah closed 1 year ago
hi xendit team,
when we call balance, we got error Ledger accounts found for both IDR and PHP currency, we don't know which to pick.
I check your documentation, but its not updated about legder account.
after I investigation, we found you add new query string currency(IDR / PHP) for legder
so, in balance.php i modify from :
$url = '/balance?account_type=' . $account_type
to $url = '/balance?account_type=' . $account_type.'¤cy=IDR';
please update to this code so we not get error
thanks