ValidationResult
validboolean
Whether the address format is valid
Example:
trueaddressstring
The address that was validated (uppercased)
Example:
AK-484-9321formatstring
Detected format: 'formatted' (AK-484-9321) or 'compact' (AK4849321)
Possible values: [formatted, compact]
Example:
formattederrorstring
Validation error message (only present if invalid)
ValidationResult
{
"valid": true,
"address": "AK-484-9321",
"format": "formatted",
"error": "string"
}