Sample code for bank validation
This page provides sample code to help you set up Postcoder bank validation.
You'll need an API key to make these examples work. Not got an API key? Sign up for a free trial.
You'll also need to enable this feature on your API key using the Features page.
You'll also need to enable this feature on your API key using the Features page.
Create a bank account finder with JavaScript
This JavaScript example is designed to help you add Postcoder bank validation to your website, without the need to write your own code from scratch. It uses the bank endpoint to check a UK sort code and account number, and get details about the bank and branch.
Implement bank validation in other languages
These examples show how to make a request to the bank endpoint to validate a UK bank account.