I get an undefined method account when trying to debit a bank account.
From looking through the library, BankAccount#debit forwards to account.debit, but the API doesn't seem to include an account resource in the response, only a customer resource, so the method is never dynamically created.
The card resource, on the other hand, does include both an account and a customer resource, so that works fine.
The docs mirror this as well -
https://docs.balancedpayments.com/current/api.html?language=ruby#retrieve-a-bank-account
https://docs.balancedpayments.com/current/api.html?language=ruby#retrieve-a-card