UK Faster Payments

For the United Kingdom, you can validate whether a bank branch or account will support Faster Payments.

To validate against the faster payments data you must have the correct licence and call the hook BWI_UK_HOOK_FPS_ON.

This example validates the details and then displays the faster payments data.

/* Define the handles and check that the licence is valid for faster payments */

/* Perform a standard and faster payments validation */

BWICheck(h)

/* Process all conditions returned. */

/* Call the hook to enable faster payments data */

BWIHook(BWI_UK_HOOK_FPS_ON)

/* Iterate through each faster payments data field and display the information */

for(i = BWI_UK_FPS_STATUS BWI_V_FIELD; i <= BWI_UK_FPS_AGNCY_TYPE; i = i + 1) {

BWIGetString(h,i,string)

print(i + " " + string)

}

/* Call the hook to return to standard data */

BWIHook(BWI_UK_HOOK_FPS_OFF)

/* Free the handles and perform any other logic required after a validation */