Skip to content

The official repository for the javascript JSONP integration for ibanapi.com

License

Notifications You must be signed in to change notification settings

ibanapi/ibanapi_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💳 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

About

The official repository for the javascript JSONP integration for ibanapi.com

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published