Returns details of the bank that issued an IBAN: name, type (commercial, Islamic, microfinance, digital bank, wallet …) and whether it still exists.
Also accepts a 4-letter bank code on its own.
A valid Pakistani IBAN, or a bank code such as MEZN
MEZN
Bank details, or null if the IBAN is invalid or the code unknown
null
getBankInfo('PK36SCBL0000001123456702');// { code: 'SCBL', name: 'Standard Chartered Bank (Pakistan) Limited',// type: 'commercial', active: true, mergedInto: null, aliasOf: null }getBankInfo('SADA')?.type; // 'emi' Copy
getBankInfo('PK36SCBL0000001123456702');// { code: 'SCBL', name: 'Standard Chartered Bank (Pakistan) Limited',// type: 'commercial', active: true, mergedInto: null, aliasOf: null }getBankInfo('SADA')?.type; // 'emi'
Returns details of the bank that issued an IBAN: name, type (commercial, Islamic, microfinance, digital bank, wallet …) and whether it still exists.
Also accepts a 4-letter bank code on its own.