# Tokenizing an ACH/EFT/bank account

Tokenizing an ACH/bank account securely stores bank info within ChargeOver.

## Example

Call the `ChargeOver.ACH.tokenize(...)` method to store ACH bank info.

The default behavior is to update all packages for this customer to use this newly tokenized ACH info for future
payments. If you do not want this behavior, you can specify `use_as_default_paymethod=false`.

```javascript
var my_data = {
	customer_external_key: '110051',
	// customer_token: 'e64f6121a3cdfb8424413cce74f201e2',

	// use_as_default_paymethod: true,

	number: '8512340',
	routing: '072403004',
	name: 'John Doe'
}

function my_callback_function(code, message, response)
{
	if (code == 200)
	{
		alert('We stored/tokenized ACH account ' + response.ach.mask_number);
	}
	else
	{
		alert('Error: ' + message);
	}
}

ChargeOver.ACH.tokenize(my_data, my_callback_function);
```
