Using AVC to set Address Verified Status
You can use AVC to set Address Verified Status.
You may want flexibility while considering verified status in the standardized addresses as returned by the address cleansing function.
Let us consider a customer who uses the verified address for billing or payment purposes. In such a case, it makes sense to put a higher focus on a verified address than someone using it for marketing purposes. These flexibilities or options can be added in several ways.
A new parameter, verificationStatusMapping
, is added to the
options
section. For example:
{
"cleanse":[
{
"cleanseFunction":"Loqate",
"options":{
"ovOnly":"true",
"verificationStatusMapping":{
"Verified":[
"V.*"
],
"Partially Verified":[
"P.*"
],
"Unverified":[
"U.*"
],
"Ambiguous":[
"A.*"
],
"Conflict":[
"C.*"
],
"Reverted":[
"R.*"
]
}
}
}
]
}
The example contains the following full list of available verification statuses:
Verified
Partially Verified
Unverified
Ambiguous
Conflict
Reverted
You can declare all of them, a few, or just one of the available verification statuses.