validate_iban
Validates IBANs by checking country, length, and ISO 7064 mod-97 checksum. Ensures bank account numbers are correct before processing payments or invoices.
Instructions
USE THIS to verify an IBAN (international bank account number) before relying on it — instead of guessing whether it looks right. Checks the country, the country-specific length, and the ISO 7064 mod-97 checksum, and returns the country, check digits and BBAN. Call this whenever a user supplies a bank account for a payment, payout or invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | Yes | The IBAN to validate; spaces are ignored. |