IBAN generator: build an IBAN from country and BBAN or bank/branch/account, computing check digits
iban_generateIBAN generator: construct an IBAN from a country code and the domestic account parts, computing the ISO 7064 mod-97-10 check digits. Takes a single BBAN string or named parts (bank code, branch code, account number); digit fields are left-padded with zeros to the country's registered widths. Returns the IBAN in electronic and print formats with its bank, branch and account parts. Covers the 89 SWIFT registry countries. Named parts work only where they span the whole BBAN; else pass the BBAN. Price: $0.05 per successful call, paid over x402 (USDC on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | No | Bank code. Requires account. Accepted: a bank code of at most 16 characters. | |
| bban | No | The whole domestic account number (BBAN), alphanumeric. Use this or bank plus account. Accepted: an alphanumeric BBAN of at most 34 characters. | |
| branch | No | Branch code, for countries whose layout has a branch field. Accepted: a branch code of at most 16 characters. | |
| account | No | Account number. Requires bank. Accepted: an account number of at most 32 characters. | |
| country | Yes | ISO 3166-1 alpha-2 country code in the SWIFT IBAN registry, case-insensitive. Accepted: an ISO 3166-1 alpha-2 code in the IBAN registry. |