The official node 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.
Install the package using the following command
npm install --save ibanapiYou can now initialize & use the package as follows
For full iban validation
//Get all the IBAN Informationibanapi.setConfig("API_KEY")ibanapi.validateIBAN("EE471000001020145685",ibanResult);functionibanResult(res){console.log(res);}- For basic iban validation
//Get all the basic IBAN Informationibanapi.setConfig("API_KEY")ibanapi.validateIBANBasic("EE471000001020145685",ibanBasicResult);functionibanBasicResult(res){console.log(res);}- To get the balance
//Get the account balanceibanapi.setConfig("API_KEY")ibanapi.getBalance(balanceResult);functionbalanceResult(res){console.log(res);}Please feel free to open a bug report or pull request to this repo.
or visit the iban api website