Skip to content

pakdatakit/iban

Interface Description
BankInfo A bank (or other institution) that issues Pakistani IBANs.
Type Alias Description
BankType Kind of institution, following the State Bank of Pakistan’s grouping.
Function Description
validateIBAN Validates a Pakistani IBAN using format and ISO 13616 mod-97 checksum.
getBankFromIBAN Returns the bank name for a valid Pakistani IBAN based on its 4-letter bank code.
getBankInfo Returns details of the bank that issued an IBAN: name, type (commercial, Islamic, microfinance, digital bank, wallet …) and whether it still exists.
getBanks Lists every bank code in the dataset, sorted by code. Filter it for a bank picker, e.g. getBanks().filter((b) => b.active && !b.aliasOf).