API Form field mapping

The API can be tied into existing forms using address components, once the API response is obtained the fields could be configured as per the existing form structure without any restrictions from the API.

The messages in the error code could be adapted to the organisations language structure, developers can assign a specific error message for each error code by customising the error “text” example:

if (!res.ok) {
 if (data.error_code === 40001) {
throw new Error("Invalid 'q' parameter");
 } else {
throw new Error
("Network response was not ok");
}
}




 
Posted: 16/02/2026 16:04:40