
By dropping in a few lines of code, you can now power bank account verification and transfers on your platform as a user of Dwolla’s bank transfer API.
<head>
<!-- Include dwolla.js on your page -->
<script src="https://cdn.dwolla.com/1/dwolla.js"></script>
</head>
Within seconds, your integration can access Dwolla’s Instant Account Verification process through dwolla.js. Your customers simply select their bank, log in with their bank credentials, link the bank account they’d like to use and they are on their way to quick and easy payments inside your application.
<script type="text/javascript">
$('#start').click(function() {
var iavToken = '4adF858jPeQ9RnojMHdqSD2KwsvmhO7Ti7cI5woOiBGCpH5krY';
dwolla.configure('uat');
//Call function to start/render IAV in the container specified
dwolla.iav.start('iavContainer', iavToken, function(err, res) {
console.log('Error: ' + JSON.stringify(err) + ' -- Response: ' + JSON.stringify(res));
});
});
</script>
Not a Dwolla partner? With the release of dwolla.js, you still have the option to securely pass your customer’s account number and routing number to our Funding Sources endpoint without them ever hitting your server. This provides you the peace of mind that your customers’ information is safe while getting set up on your application, and allows you to send payments to that customer.
<script type="text/javascript">
$('form').on('submit', function() {
dwolla.configure('uat');
var token = 'Z9BvpNuSrsI7Ke1mcGmTT0EpwW34GSmDaYP09frCpeWdq46JUg';
var bankInfo = {
routingNumber: $('routingNumber').val(),
accountNumber: $('accountNumber').val(),
type: $('type').val(),
name: $('name').val()
}
//Call function to attach bank account using form values
dwolla.fundingSources.create(token, bankInfo, callbackHandler);
return false
})
function callbackHandler(err, res) {
$div = $('<div />')
var logValue = {
error: err,
response: res
}
$div.text(JSON.stringify(logValue))
console.log(logValue)
$('#logs').append($div)
}
This is a breakthrough for making bank transfers accessible and flexible for businesses and developers everywhere. Dwolla.js is a straightforward bank account verification integration—get started now.
We'll help you design your ideal payments experience. We’ve sent you a message to kick off the conversation with our team. Please check your inbox. There was an error and the form was not submitted.Get started with ACH transfers
Thanks!
Sorry