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:
1 BankValidate - REST
where:
If sort code and account number are valid:-
Sample valid response in xml format :-
<validator>
</validator>
Sample valid response in json format :-
Sample valid response in csv format :-
If sort code and account number are not valid or if an error occurs:-
Error messages :-
INVALID - Sortcode - The supplied sort code does not exist in the VocaLink Extended Industry Sorting Code Directory (EISCD).
INVALID - Account - The supplied account number is not in any of the recognisable formats, i.e. 7 - 10 numeric characters in length.
INVALID - Modulus Check Failed - The sort code/ account number combination did not pass the modulus checks specified by the owning bank.
INVALID - Result Format - Problem, with format field in URI.
ERROR - Invalid User ID/PIN - The User ID or PIN has not been recognised.
ERROR - User ID Expired - Trial user ID has expired.
ERROR - Insecure Connection - An attempt was made to access BankVal's bankvalidate method using insecure HTTP protocol instead of HTTPS.
2 BankValidate - SOAP
There are two main ways of implementing SOAP, Document Literal and RPC. For help choosing the best solution for your implementation, please contact support@unifiedsoftware.co.uk.
2.1 BankValidate - SOAP Document Literal
The WSDL file on the primary data centre is at https://www.unifiedservices.co.uk/services/bankvaluk/bankvalidate.php?wsdl
The WSDL file on the backup data centre is at https://www.unifiedsoftware.co.uk/services/bankvaluk/bankvalidate.php?wsdl
Parameters |
Description |
|---|---|
userid |
BankVal UK User ID. |
pin |
5 digit PIN. |
sortcode |
Sort code to be validated. |
account |
Account number to be validated. |
Field |
Description |
|---|---|
result |
Result string contains on of the following messages:- |
2.2 BankValidate - SOAP RPC
ReturnMessage = bankvalidate(QueryString)
where
QueryString is a " | " delimited string of the format - "userid|PIN|sort code|account number"
ReturnMessage is a " | " delimited string as shown below.
VALID - All checks on sort code and account number passed successfully.
INVALID - Sortcode - The supplied sort code does not exist in the VocaLink Extended Industry Sorting Code Directory (EISCD).
INVALID - Account - The supplied account number is not in any of the recognisable formats, i.e. 7 - 10 numeric characters in length.
INVALID - Modulus Check Failed - The sort code/ account number combination did not pass the modulus checks specified by the owning bank .
ERROR - Invalid User ID/PIN - The User ID or PIN has not been recognised.
ERROR - User ID Expired - Trial User ID has expired.
ERROR - Insecure Connection - An attempt was made to access BankVal's bankvalidate method using the insecure HTTP protocol instead of HTTPS.
The WSDL file on the primary data centre is at https://www.unifiedservices.co.uk/bankvaluk3.wsdl
The WSDL file on the secondary data centre is at https://www.unifiedsoftware.co.uk/bankvaluk3.wsdl
Social Media