BVN Validator - Written In PHP




Hi, It's S Naziru Ahmad. After a couple of months I was unable to publish a post in my blog. It was due to some solved problems. Worry zero! As all were solved, and I'm fully back.

As a welcome back, I try to share this script written by me in PHP. It's a light project that gives you the ability to verify users base on their BVN (Bank Verification Number). But before going in here are some terms governing the usage or integrating this project.

Disclaimer

I will NOT be held responsible for any misusal of this project, it's meant for educational purpose. Any attempt for using it illegally will NOT be entertained. The consequences goes to the user! alert-error

Secondly, Just use it as a means of verification only, don't save your user's BVN. Just make the validation and not save the BVN! alert-error

If we heard that, why not going to the requirements? Let's go.

Requirements

There are gateways out there providing such service, but I choose paystack for some reason. So this project is based on Paystack API. So all you need is a Paystack API. And you are good to go.


Visit the code repository here. Download it and you are good to go.


The code returns the following details of the user with the inputted BVN.

  1. First Name
  2. Last Name
  3. Middle Name (If Available)
  4. Phone Number
  5. Date Of Birth.

So, with the project you can validate and verify the DOB, First or Last Name of a User. 

Use it wise. I will soon share similar scripts that will validate all accounts numbers (NUBAN). Thanks.

Post a comment

1 Comments