Validate BIC/SWIFT code
validate_bicValidates a BIC/SWIFT code to ensure it matches the standard 8 or 11-character format, checking bank code, country code, location code, and optional branch code.
Instructions
Checks whether a string is a structurally valid BIC (8 or 11 characters: 4-letter bank code, 2-letter country code, 2-char location code, optional 3-char branch code).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | Yes | The BIC/SWIFT code to validate, e.g. DEUTDEFF or DEUTDEFF500 |