Validate an ACH/EFT/bank account
Validating an ACH lets you determine if a given bank account and routing number are valid.
Note that the level of validation performed will vary depending on the bank account country/currency, and the configuration of your ChargeOver account.
In general, validation for United States and Canadian bank accounts will be limited to verifying that the bank account number could be valid and that the routing number is valid. ChargeOver generally can not tell whether or not bank account debits will succeed. For example, ChargeOver can not tell if the bank account is overdrawn or the account has been closed.
Example
Call the ChargeOver.ACH.validate(...)
method to validate ACH information.
var my_data = {
number: '856666',
routing: 'A072403004'
};
function my_callback_function(code, message, response)
{
if (code == 200)
{
alert('Valid!');
}
else
{
alert('Not valid!');
}
};
ChargeOver.ACH.validate(my_data, my_callback_function);