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 GetBankDetails2 - REST
where:
If SWIFT BIC is valid:-
Sample valid response in xml format :-
<swiftbic>
</swiftbic>
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 Getbankdetails2 - 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 GetBankDetails2 - SOAP Document Literal
WSDL file on the primary data centre is https://www.unifiedservices.co.uk/services/bankvalint/getbankdetails2..php?wsdl
WSDL file on the backup data centre is https://www.unifiedsoftware.co.uk/services/bankvalint/getbankdetails2..php?wsdl
Parameters |
Description |
|---|---|
userid |
BankVal UK User ID. |
pin |
5 digit PIN. |
swiftbic |
8 character BIC to be validated. |
Field |
Description |
|---|---|
result |
Result string contains on of the following messages:- |
bic |
SWIFT Bank Identifier Code |
name1 |
Name of institution - part 1 |
name2 |
Name of institution - part 2 |
name3 |
Name of institution - part 3 |
address1 |
Address of institution - part 1 |
address2 |
Address of institution - part 2 |
address3 |
Address of institution - part 3 |
address4 |
Address of institution - part 4 |
location |
Address of institution - part 5 |
country |
Address of institution - part 6 |
2.2 GetBankDetails2 - SOAP RPC
ReturnMessage = getbankdetails2(QueryString)
where
QueryString is a " | " delimited string of the format "userID|PIN|SWIFTBIC"
ReturnMessage is a string of 10 variable length fields delimited by " | " character. Please note that some of these fields may be empty.
All possible ReturnMessage values are shown below
10 variable length fields in a "|" delimited string. - The fields are :- SWIFTBIC | name1 | name2 | name3 | address1 | address2 | address3 | address4 | location | 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/BankValinternationalall.wsdl
The WSDL file on the backup data centre is at https://www.unifiedsoftware.co.uk/BankValinternationalall.wsdl
Social Media