The official javascript JSONP module for validating IBAN using the ibanapi.com public API
This module offers methods to validate IBAN (full and basic validation) wherein full validation will return the bank information alongside the basic validations.
Get an API Key from the ibanapi.com website.
Download the distribuation file and link it in your project or use public CDN
You can now initialize & use the library as follows
For full iban validation
//Get all the IBAN InformationvaribanApi=IBANApi();ibanApi.validateIBAN("EE471000001020145685","API_KEY").then(function(data){console.log(data);});- For basic iban validation
//Get all the basic IBAN InformationvaribanApi=IBANApi();ibanApi.validateIBANBasic("EE471000001020145685","API_KEY").then(function(data){console.log(data);});- To get the balance
//Get the account balancevaribanApi=IBANApi();ibanApi.getBalance("API_KEY").then(function(data){console.log(data);});Please feel free to open a bug report or pull request to this repo.
or visit the iban api website