addresses
aid_search_external_validate_address
Validate the given address and return close matching alternative suggestions if the provided address was most likely wrong.
scopes:
- public
post/accounts/{aid}/search/external/address/{country}/validate
Path parameters
aidstring ^[PT]{1}\d{8}$ required
An id that uniquely identifies the account.
countrystring required
ISO 3166-1 country code
Request body
Example request
{
"address_line": "Sommerkroveien 34",
"address_line_2": "PB 123",
"postal_code": "0349",
"postal_place": "Oslo",
"country": "NO"
}Response
Result with close matching alternative addresses if found.
Example response
{
"alternatives": [
{
"address_line": "Sommerkroveien 34",
"address_line_2": "PB 123",
"postal_code": "0349",
"postal_place": "Oslo",
"country": "NO"
}
]
}