validate_iban
Verify an IBAN by checking its country, length, and checksum to ensure it is valid 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. |