[go: up one dir, main page]

Skip to content

Get bank information from IBAN bank account number

License

Notifications You must be signed in to change notification settings

olivier-ea3/bank-from-IBAN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bank from Iban

Get bank data from IBAN bank account number

Validating an IBAN

  var BankFromIBAN = require ("BankFromIBAN");

  // Return true if the IBAN is a correct bank account
  var isValid = BankFromIBAN.validateIBAN("DZ4000400174401001050486");

Get a BIC(SWIFT) bank code from IBAN account number

  var BankFromIBAN = require ("BankFromIBAN");

  // Return a String with a Bic code
  var bic = BankFromIBAN.getBIC("DZ4000400174401001050486");

Get bank data from IBAN account number

  var BankFromIBAN = require ("BankFromIBAN");

  // Return a String with a Bic code
  var bankInfo = BankFromIBAN.getBankInfo("DZ4000400174401001050486");
  /*
  {
    "id": 1,
    "bank": "ANDORRA BANC AGRICOL REIG S.A.",
    "city": "LES ESCALDES",
    "branch": null,
    "swift_code": "BACAADAD"
  },
  */

The bank information is https://github.com/PeterNotenboom/SwiftCodes

About

Get bank information from IBAN bank account number

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%