Unified Software
t: +44 (0)191 305 5035  e: info@unifiedsoftware.co.uk 

Developers

IBANValidate

Important note.

All BankVal web services are available on both the main and backup servers at our primary data centre. This configuration is mirrored at our secondary data centre. The two data centres are geographically independent. Using this configuration, the BankVal web service has been available continuously since launch in 2003.

In general:

  • Call the service at the primary data centre at www.unifiedsoftware.co.uk
  • In the unlikely event of a failure, call the service at the secondary data centre at www.unifiedservices.co.uk

1 IBANValidate - REST implementation


IBANValidate functionality:

  • Validates any IBAN, International Bank Account Number, to ECBS standards.

Follow these three steps:-

  • 1. Attempt to access the service on unifiedsoftware.co.uk
  • 2. Check the http response code
  • 3. If this is < 200 or > 399, access the backup service on unifiedservices.co.uk

URI for IBANValidate

  • GET https://www.unifiedsoftware.co.uk/services/bankvalint/ibanvalidator/userid/‹userid›/pin/‹pin›/iban/‹iban›/‹format›/

where:

  • ‹userid› and ‹pin› are your user ID and 5 digit PIN obtained upon registration at:
    www.unifiedsoftware.co.uk/free-trial/free-trial-home.html
  • ‹iban› is the IBAN number to be validated.
  • ‹format› specifies the format of the returned data. Valid formats are csv, xml and json. (csv uses the "|" delimiter)

Results

If IBAN is valid:-

  • The string VALID is returned

Example Valid Results

Sample valid response in xml format :-

‹iban›

  • ‹result›VALID‹result›

‹/iban›


Sample valid response in json format :-

  • {"result":"VALID"}

Sample valid response in csv format :-

  • VALID

If IBAN is not valid or if an error occurs:-

  • Return field - contains an error message

Error messages :-

Error Messages

VALID - IBAN is valid

INVALID - Country Code - The Country Code within the supplied IBAN is not valid

INVALID - Modulus Check Failed - The IBAN failed the modulus check

INVALID - Format - The supplied IBAN is not in a valid format

ERROR - Invalid User ID/PIN - The User ID or PIN has not been recognised.

ERROR - UserID Expired - Trial user ID has expired.

ERROR - Insecure connection - An attempt was made to access BankVal International's ibanvalidate service using insecure HTTP protocol instead of HTTPS.


<< Back to Top >>


2 IBANValidate - SOAP implementation


IBANValidate functionality:

  • Validates any IBAN, International Bank Account Number, to ECBS standards.

Parameter Format for IBANValidate

ReturnMessage = ibanvalidate(QueryString)

where

QueryString is a " | " delimited string of the format "userID|PIN|IBAN"

All possible ReturnMessage values are shown below

ReturnMessage meanings

VALID - IBAN is valid

INVALID - Country Code - The Country Code within the supplied IBAN is not valid

INVALID - Modulus Check Failed - The IBAN failed the modulus check

INVALID - Format - The supplied IBAN is not in a valid format

ERROR - Invalid User ID/PIN - The User ID or PIN has not been recognised.

ERROR - UserID Expired - Trial user ID has expired.

ERROR - Insecure connection - An attempt was made to access BankVal International's ibanvalidate service using insecure HTTP protocol instead of HTTPS.


WSDL files

The WSDL file on the primary data centre is at www.unifiedsoftware.co.uk/BankValinternationalall.wsdl

The WSDL file on the backup data centre is at www.unifiedservices.co.uk/BankValinternationalall.wsdl


<< Back to Top >>