BWICheck – Validate account details

BWICheck (h)

Use BWICheck to validate the bank, institution and account details. You specify the information checked by setting a flag before calling this function.

After calling this function, use BWINext to determine if there were any fatal or error conditions returned, then use BWIGetValue and BWIGetString to access the condition codes and messages. If there were no fatal or error conditions, use BWIGetString and BWIGetValue to access bank or branch data.

Input parameter

h Create this using BWICreateHandle. This checks for:
  • the country set using BWISetValue with item BWI_V_COUNTRY_CHECK
  • input flags set using BWISetValue with item BWI_V_INFLAG
  • account details set using BWISetString with item BWI_V_PAR1 to BWI_V_PAR5.

Set BWI_V_PAR5 to BWG_BIC_STRING to perform a BIC check.