All BankVal web services are mirrored at two independent data centres. Using this configuration, the BankVal web service has been available continuously since launch in 2003.
In general:
1 GetBranchList - REST
where:
If SWIFT BIC is valid, a list of branches is returned. Branch records are separated by "?". Each branch record has the following structure:
Sample valid response in xml format :-
<branchlist>
<branchdets>
</branchdets>
<branchdets>
</branchdets>
</branchlist>
Sample valid response in json format :-
Sample valid response in csv format :-
If SWIFT BIC is not valid or if an error occurs:-
Error messages :-
INVALID - The supplied SWIFT BIC does not exist.
INVALID - Result Format - Problem, with format field in URI.
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's GetBankDetails2 method using insecure HTTP protocol instead of HTTPS.
2 GetBranchList - SOAP
We provide two SOAP APIs - Document Literal and RPC. For help choosing the best solution for your implementation, please contact support@unifiedsoftware.co.uk.
2.1 GetBranchList - SOAP Document Literal
WSDL file on the primary data centre is https://www.unifiedservices.co.uk/services/bankvalint/getbranchlist.php?wsdl
WSDL file on the backup data centre is https://www.unifiedsoftware.co.uk/services/bankvalint/getbranchlist.php?wsdl
Parameters |
Description |
|---|---|
userid |
BankVal UK User ID. |
pin |
5 digit PIN. |
bic8 |
8 character BIC to be queried. |
Field |
Description |
|---|---|
result |
Result string contains on of the following messages:- |
bic |
SWIFT Bank Identifier Code |
branch |
Branch code |
name |
Name of institution |
binfo |
Branch information |
city |
City |
subtype |
|
vas |
|
extra |
|
address1 |
|
address2 |
|
address3 |
|
address4 |
|
location |
|
country |
|
pob_number |
|
pob_location |
|
pob_country |
2.2 GetBranchList - SOAP RPC
ReturnMessage = getbranchlist(QueryString)
where
QueryString is a " | " delimited string of the format "userID|PIN|BIC8"
ReturnMessage Multiple occurrences of: a string of 17 variable length fields. Records are delimited by " ? " and fields are delimited by " | " character. Please note that some of these fields may be empty.
All possible ReturnMessage values are shown below
17 variable length fields in a "|" delimited string. - The fields are :- bic|branch|name|binfo|city|subtype|vas|extra|address1|address2|... ...address3|address4|location|country|pob_number|pob_location|pob_country
INVALID - The supplied SWIFT BIC does not exist.
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 GetBankDetails2 service using insecure HTTP protocol instead of HTTPS.
The WSDL file on the primary data centre is at https://www.unifiedservices.co.uk/bankvalint2.wsdl
The WSDL file on the backup data centre is at https://www.unifiedsoftware.co.uk/bankvalint2.wsdl
Social Media