ifsc-helper
v1.0.8
Published
Helps you to get Details of IFSC code
Downloads
96
Maintainers
Readme
IFSC-HELPER
Functions Available
- IFSCode -> Details of IFSCode
var ifsc_helper = require('ifsc-helper')
var ifscCode = "CORP0000002";
ifsc_helper.getIfscDetail( ifscCode , callback ) ;
function callback(result) {
console.log(result) ;
/* RESPONSE is JSON
{
BANK: 'CORPORATION BANK',
IFSC: 'CORP0000002',
MICR: 576017202,
BRANCH: 'KUNDAPUR',
ADDRESS: 'GURUPRASAD, MAIN RD, P.B.NO.11 KUNDAPURA 576201',
CONTACT: 230321,
CITY: 'VADERAHOBALI',
DISTRICT: 'UDIPI',
STATE: 'KARNATAKA'
}
*/
// Possible Error
/* {
"Error" : "IFSC doesn't belong to any bank "
}
*/
}
- IFSC shortCode -> All IFSC's and the Details of particular Bank
var ifsc_helper = require('ifsc-helper')
var shortCode = "ANDB";
ifsc_helper.getIfscsOfBank( shortCode , callback ) ;
function callback(result) {
console.log(result) ;
/* RESPONSE is JSON
{
ANDB0000003:
{
BANK: 'ANDHRA BANK',
IFSC: 'ANDB0000003',
MICR: 520011743,
BRANCH: 'AGIRIPALLI',
ADDRESS: 'AGIRIPALLI MANDALKRISHNA DIST,AP',
CONTACT: 0,
CITY: 'AGIRIPALLI',
DISTRICT: 'KRISHNA',
STATE: 'ANDHRA PRADESH'
},
ANDB0000002:
{
BANK: 'ANDHRA BANK',
IFSC: 'ANDB0000002',
MICR: 518011202,
BRANCH: 'ADONI',
ADDRESS: '19/1 OPP MUNICIPAL OFFICE PB NO 65GOTTY LOCAL FUND ROAD ADONI, KURNOOL',
CONTACT: 0,
CITY: 'KURNOOL',
DISTRICT: 'KURNOOL',
STATE: 'ANDHRA PRADESH'
},
ANDB0000001:
{
BANK: 'ANDHRA BANK',
IFSC: 'ANDB0000001',
MICR: 534011822,
BRANCH: 'ACHANTA',
ADDRESS: '11-57/104, MAIN ROAD, ACHANTA-534123',
CONTACT: 0,
CITY: 'ACHANTA',
DISTRICT: 'WEST GODAVARI',
STATE: 'ANDHRA PRADESH'
}
}
*/
// Possible Error
// * { "Error" : "SHORT CODE doesn't exsist"}
}
- Bank Name -> ShortCode of Bank
var ifsc_helper = require('ifsc-helper')
var bankName = "ANDHRA BANK";
ifsc_helper.getShortCodeOfBank( bankName , callback ) ;
function callback(result) {
console.log(result) ;
/* RESPONSE is JSON
{
"CODE" : "ANDB"
}
*/
// Possible Error
// * { "Error" : "BANK NAME doesn't exsist"}
}