About this endpoint
What it does
Validates a BIC/SWIFT code sent in the request body. The response returns a data field that is either a detailed object for a valid code or false when the BIC is invalid.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| bic | String | Yes | BIC/SWIFT code to validate. Must be 8 or 11 characters. |
Response
Returns a JSON object with a required data field. data is either a boolean false when the BIC is invalid, or an object containing validation details for a valid BIC.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object / Boolean | Yes | Either false when the BIC is invalid, or an object with validation details. |
| data.valid | Boolean | No | Indicates whether the BIC is valid. |
| data.bank_code | String | No | Bank code extracted from the BIC. |
| data.branch_code | String | No | Branch code extracted from the BIC. |
| data.country_code | String | No | Country code extracted from the BIC. |
| data.location_code | String | No | Location code extracted from the BIC. |