When conditions can occur

Whenever you call Bank Wizard, conditions of varying severity can be returned. Most conditions are generic (that is returned by more than one country), however some are country specific, (that is returned by only one country), these have a code of 64 or higher. The exact conditions returned depend upon the service called and the country for which you are performing the check.

Some of the generic conditions also have country specific messages. The condition number is the same for all countries.

If you are implementing multiple countries, use the generic condition whenever possible to reduce the complexity of your application.

Naming Convention

All conditions use a standard naming convention:

BWX_S_Name

Where

X

is I for conditions used by the main Bank Wizard core.
is G for generic conditions, that is conditions used by more than one country.

S

is either the severity of the condition for global and generic conditions: F for Fatal, E for Error, W for Warning, and I for Information.
or, is the 2 letter country code for country specific conditions, for example GB for the United Kingdom.

Name

Condition name. This is related to the issue that caused the condition.

Status conditions returned during initialisation or when making function calls

Your application must deal with all fatal conditions.

Conditions returned during initialisation are included in the event log.

When initialising Bank Wizard or making any function call, the following conditions can be returned for all countries:

Fatal conditions

All countries                              Show key

During initialisation

During any function call

BWI_F_BADKEY (5)

BWI_F_DEPVER (6)

BWI_F_EXLIC (4)

BWI_F_INTERNAL (7)

BWI_F_NOBWIMAIN (100)

BWI_F_NOCOUNTRY (2)

BWI_F_NOINI (1)

BWI_F_NOLIC (3)

BWI_F_NOMEM (8)

All other fatal conditions

Error conditions

BWI_E_EXLIC (300 + country number)

BWI_E_TABLE_MISSING (1 + country number)

Warning conditions

BWI_W_30DAY (1 + country number)

Conditions returned when validating accounts

Conditions returned for IBANS, BICs and SEPA