Search for Bank accounts
You can find a single BankAccount
by using its UID.
$bankAccount = Pencepay_BankAccount::find('bank_account_uid', 'customer_uid');
BankAccount
object is returned on success.
Find all Bank accounts for a customer
$search = Pencepay_Request_Search::build()->limit(10);
$collection = Pencepay_BankAccount::search('customer_uid', $search);
BankAccountCollection
object is returned on success.