Validate an IBAN (checksum and country format)

Validates an IBAN (country format and checksum) and returns its parts.

Request

GEThttps://payment-details-validator.p.apihiver.com/v1/iban/GB82WEST12345698765432
*
String. IBAN, with or without spaces.
Language
Client
1curl --request GET \
2  --url https://payment-details-validator.p.apihiver.com/v1/iban/GB82WEST12345698765432 \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Validate an IBAN (checksum and country format): IFSC, GSTIN & UPI Validation API (India) reference

Validates an IBAN (country format and checksum) and returns its parts. This endpoint is part of the IFSC, GSTIN & UPI Validation API (India): Validate Indian payment details — IFSC (with bank and branch), GSTIN, UPI ID format — plus IBAN and card BIN checks.

Example response (200, application/json)

Success.

1{
2  "bban": "WEST12345698765432",
3  "iban": "GB82WEST12345698765432",
4  "valid": true,
5  "formatted": "GB82 WEST 1234 5698 7654 32",
6  "check_digits": "82",
7  "country_code": "GB"
8}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "A parameter has the wrong format — the message names it."
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.