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 GenerateRTIHash - REST
where:
If parameters are valid:-
Sample valid response in xml format :-
<rtigenerate>
</rtigenerate>
Sample valid response in json format :-
Sample valid response in csv format :-
If an error occurs:-
Error messages :-
INVALID - Random String - Random string not in correct format ('/ABC').
INVALID - Result Format - format parameter was not ‘xml’, ‘json’ or ‘csv’.
2 GenerateRTIHash - 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 GenerateRTIHash - SOAP Document Literal
The WSDL file on the primary data centre is at https://www.unifiedservices.co.uk/services/bankvaluk/rtigenerate.php?wsdl
The WSDL file on the backup data centre is at https://www.unifiedsoftware.co.uk/services/bankvaluk/rtigenerate.php?wsdl
Parameters |
Description |
|---|---|
userid |
BankVal UK User ID. |
pin |
5 digit PIN. |
origsortcode |
Originating Sort Code. |
destsortcode |
Destination Sort Code. |
amountpence |
Amount in pence, 11 digits with leading zeros. |
randomstr |
Random String. |
Field |
Description |
|---|---|
result |
Result string contains one of the following messages:- |
2.2 GenerateRTIHash - SOAP RPC
ReturnMessage = generatertihash(QueryString)
where:-
QueryString = userID|PIN|originating sort code|destination sort code|amount pence|random string
All possible ReturnMessage values are shown below
/TW0|db6f9d7f35aca05c5d09577127012fcf9305b2c3a548e92e0e3143b398c31a04
ERROR - Invalid User ID/PIN||||| - The User ID or PIN has not been recognised.
ERROR - UserID Expired||||| - Trial user ID has expired
ERROR - Invalid Random String Format||||| - Random string must be 4 characters starting with '/', e.g. '/ABC'
The WSDL file on the primary data centre is at https://www.unifiedservices.co.uk/bankvaluk3.wsdl
The WSDL file on the backup data centre is at https://www.unifiedsoftware.co.uk/bankvaluk3.wsdl
Social Media