Address Lookup

Provides a fully formed address from a partial

About the service

W2DataAddressLookup024Service is an address verification service. It provides a fully-formed address where partial details are provided. If there are multiple possible matches, it provides a list of them, up to a limit of 100.

Product Code: W2-DATA-ADDRESS_LOOK_UP-024

Does this service leave a credit search Footprint? No


Request

Property NameTypeLengthOptional/MandatoryNotes
HouseNameString26Optional
HouseNumberString26Optional
PostcodeString8Mandatory
StreetString40Optional
CityString20Optional
CountryString3OptionalIf set, must be a valid three-letter ISO country code as described here. If not set, the search will be within the United Kingdom (GBR).

Notes

Usually this service is part of a larger bundle and appears toward the start of the workflow.
Each address match will have an AddressId element. You can use this address code to call the service again and retrieve that specific address only at no cost. To do this, add a QueryOptions property with key AddressLookupRef and with the address code as the value.

If this QueryOptions parameter is provided, the above QueryData will be ignored.


Response

Example response

"w2DataAddressLookUp024Result": {
	"results": [{
			"addressLookupRef": "W2AR0001-0001-0001-0003",
			"addressSummary": "42 Some Street, Some Town, HU12 9FL",
			"buildingNumber": "42",
			"postTown": "Some Town",
			"postcode": "HU12 9FL",
			"thoroughfare": "Some Street"
		}
	]
}

Transaction result

PropertyValue
HaltTriggeredFalse
ServiceTransactionResult- Success
- ClientErrorInsufficientInformation- Required field not supplied
ServiceInterpretResult- OneResult
- MultipleResults
- NoResults - NotPerformed - An error occurred and the search was not performed
ServiceTransactionResultMessageUsually empty, can contain optional information such as too many matches etc.
ValidationResult- NotApplicable - No search occurred to match against- - Fail- MissingMandatoryField or PatternNotMatched

Sandbox

Example request

To use sandbox the following example request can be used.

Remember to include the W2 provided API key in the Authorization Header.

{
    "Bundle": "KYC_ADDRESS_LOOKUP_024",
    "Data": {
        "Forename": "Michael",
        "Surname": "Tschank",
        "HouseNumber": "51",
        "Street": "Nobilegasse",
        "City":"Wien",
        "Postcode": "1150"
    },
    "Options": {
        "Sandbox": "true"
    },
    "ClientReference": "your-client-reference"
}

Sandbox cases

If HouseNumber = "26" and Postcode = "LN4 7AT":

The W2DataAddressLookup024Result will be null and the corresponding ServiceTransactions will show the following properties:

PropertyValue
HaltTriggeredFalse
ServiceTransactionResultSuccess
ServiceInterpretResultNoResults
ServiceTransactionResultMessage"This call was generated using sandbox mode"
ValidationResultNotApplicable

If HouseNumber = "68" and Postcode = "RH13 3HE":

The W2DataAddressLookup024Result will have 2 results and the corresponding ServiceTransactions will show the following properties:

PropertyValue
HaltTriggeredFalse
ServiceTransactionResultSuccess
ServiceInterpretResultOneResult
ServiceTransactionResultMessage"This call was generated using sandbox mode"
ValidationResultNotApplicable

If HouseNumber = "42" and Postcode = "hu12 9fl":

The W2DataAddressLookup024Result will have 1 result and the corresponding ServiceTransactions will show the following properties:

PropertyValue
HaltTriggeredFalse
ServiceTransactionResultSuccess
ServiceInterpretResultMultipleResults
ServiceTransactionResultMessage"This call was generated using sandbox mode"
ValidationResultNotApplicable

If Postcode = "bs3 5an":

The W2DataAddressLookup024Result will have 3 results and the corresponding ServiceTransactions will show the following properties:

PropertyValue
HaltTriggeredFalse
ServiceTransactionResultSuccess
ServiceInterpretResultMultipleResults
ServiceTransactionResultMessage"This call was generated using sandbox mode"
ValidationResultNotApplicable

If AddressLookupRef = "W2AR0001-0001-0001-0007":

The W2DataAddressLookup024Result will have 1 result and the corresponding ServiceTransactions will show the following properties:

PropertyValue
HaltTriggeredFalse
ServiceTransactionResultSuccess
ServiceInterpretResultOneResult
ServiceTransactionResultMessage"This call was generated using sandbox mode"
ValidationResultNotApplicable

If Country = "USA" and Postcode = "20500-001:

The W2DataAddressLookup024Result will have 1 result and the corresponding ServiceTransactions will show the following properties:

PropertyValue
HaltTriggeredFalse
ServiceTransactionResultSuccess
ServiceInterpretResultOneResult
ServiceTransactionResultMessage"This call was generated using sandbox mode"
ValidationResultNotApplicable
Language
Authorization
Header
Click Try It! to start a request and see the response here!