Postal Address Verification API

Quick Start: Java

There are three steps to integrating the PAV API into your Java project:

1. Obtain an Esendex License Key.

Sign up for an account and complete the request form.

2. Create the request code within Notepad++

a. Start a new project with NetBeans. Select the File > New Project.

b. Select JAVA from the Categories column and select Java Applications as the Project.

c. Name your project. Select a Project Location and Project Folder. (Ensure the Create Main Class checkbox is selected.)

d. Expand the project: VerifyAddress > Source Packages > default packages > VerifyAddress.java and double click. The file will open within the IDE.

e. Add the request code for the VerifyAddress method of the API.

3. Call the PAV Address Verification method

a. Navigate to to your web development server in your browser and click on the project folder. (In this example we are running the code within NetBeans.)

b. View the result.

Let’s start sending, together.