An IBAN holds details that you can use to confirm your account number, your bank's country of origin, and other account information.
The code is referenced to the IBAN record when you make a payment to ensure that the receiver is correct.
The transaction will fail if you do an IBAN input erroneously and there is no account associated. However, the bank will complete the transfer if a corresponding account exists, and the bank can only reverse with the recipient's consent.
Moreover, to guarantee that valid IBANs are error-free, most banks use an IBAN checker, also known as an IBAN lookup.