1.0.0 • Published 3 years ago

ibanapi_jsonp v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

💳 IBAN API validation using ibanapi.com

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.

How to use

  • 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 Information
    var ibanApi = IBANApi();
    ibanApi.validateIBAN("EE471000001020145685","API_KEY").then(function(data){
        console.log(data);
    });
  • For basic iban validation
    //Get all the basic IBAN Information
    var ibanApi = IBANApi();
    ibanApi.validateIBANBasic("EE471000001020145685","API_KEY").then(function(data){
        console.log(data);
    });
  • To get the balance
    //Get the account balance
    var ibanApi = IBANApi();
    ibanApi.getBalance("API_KEY").then(function(data){
        console.log(data);
    });

Issue or suggestion

Please feel free to open a bug report or pull request to this repo. or visit the iban api website