Validate IBAN, BIC or LEI
validate_identifierValidate a single financial identifier (IBAN, BIC, or LEI) and receive a pass/fail result. Use for one-off checks.
Instructions
Validate a single financial identifier (IBAN, BIC, or LEI).
Use this for a one-off identifier check with a clear pass/fail. To
validate identifiers embedded across a whole batch of account records,
prefer ``validate_records`` rather than calling this per field.
Returns ``{"kind": str, "value": str, "valid": bool}``.
Args:
kind: One of ``"iban"``, ``"bic"``, or ``"lei"`` (case-insensitive).
value: The identifier value to check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The identifier scheme to validate against: one of 'iban', 'bic', or 'lei' (case-insensitive). | |
| value | Yes | The identifier value to check, e.g. an IBAN, BIC/SWIFT code, or LEI; validated according to the given kind. |