Validar SWIFT/BIC
swift-bic-validateVerifica la sintaxis de un código SWIFT/BIC (ISO 9362) y lo separa en partes; no confirma que el banco exista. Cuándo: hay que verificar sin conexión el formato y el dígito de control de un identificador antes de usarlo. No para: validar un IBAN (iban-validate). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Checks SWIFT/BIC code syntax (ISO 9362: 4-letter institution, 2-letter country, 2-char location, optional 3-char branch) and splits it into parts. Does not confirm the bank exists. When: an identifier's format and check digit have to be verified offline before it is used. Not for: validating an IBAN (iban-validate). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | Yes | BIC (string; required; up to 16 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic11 | No | ||
| valid | No | ||
| branch | No | ||
| country | No | ||
| location | No | ||
| test_bic | No | ||
| institution | No |