Implementation overview
Your application can pass up to 5 parameter strings to the core. The core then validates this input and may return a number of conditions of varying severity:
- Fatal indicates a serious
application problem, such as expired Licence Key
- Error indicates that the account details are invalid
- Warning indicates that
the account details may be invalid within the context of your application;
you must decide how your application should react
- Information provides
additional information conditions that your application must decide
how to react to.
In addition, the core can return data such as the bank or branch address
details or the transposed account information.
Implementation basics
To perform basic validation on account details, you must:
-
Create a handle to store your inputs and results.
- Set the country for the account details in the handle.
- Set the strings (such as sort code and account number).
- Perform the validation.
- Process any fatal and error conditions returned.
-
Process any warning and information conditions as appropriate for your business process.
-
Access any data strings that you want to display (such as branch address details).
-
Free the handle.