Get bank type and UPI/NACH/ACH support for a bank code
bank_metadataGet bank-level facts for a 4-letter bank code: bank type, MICR, IIN, and UPI, ACH, NACH, APBS support. Check capabilities before routing payments.
Instructions
Get bank-level facts for a 4-letter bank code: its type, MICR/IIN, and payment-rail support.
Distinguishes bank classes that share an IFSC prefix pattern - private / public / foreign / small finance / payments / co-operative - and reports whether the bank as a whole supports UPI, ACH credit/debit, NACH debit and APBS.
Choose this over bank_directory when you need capabilities or bank type
rather than the name; choose bank_directory when you need to go from a bank
name to its code.
Returns ok: true with: bank_code, name, bank_type, micr, iin,
capability_ifsc, and capabilities (upi, ach_credit, ach_debit, nach_debit, apbs).
Args: bank_code: The 4-letter bank code, e.g. "KKBK".
Returns: Bank metadata, or a structured error payload (INVALID_INPUT for a malformed code, NOT_FOUND for a code absent from the dataset).
Example: Ask "is HDFC a private bank and does it support UPI?" -> call bank_metadata(bank_code="HDFC").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank_code | Yes | A 4-letter bank code as found in an IFSC or via bank_directory, e.g. 'HDFC', 'SBIN', 'KKBK'. Uppercased for you. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||