Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleAPI Versions

This documentation relates to Version 1, the current version of the greenID Business API. Version 1 became available to customers as of 

Authentication

HTTP basic authentication is used for accessing the endpoint. The username is your greenID customer account ID that you use for greenID Business, and the password is your greenID web services password for that account. 

...

Field NameDescriptionTypeExample
countryCodeThe address country code i.e. a two digit code.String"NZ"
countryNameThe human-readable version of the country name.String"New Zealand"
fullAddressThe full address in a single StringString"67 HAVEN ROAD, NELSON 7010, NEW ZEALAND"
postcodeThe address postcode (only available if address has been validated)String"7010"
streetNameThe address street name (only available if address has been validated)String"HAVEN"
streetNumberThe street number (only available if address has been validated)String"67"
streetTypeThe type of street (only available if address has been validated)String"ROAD"
townCity

The town or city of the address (only available if address has been validated)

Only applicable to New Zealand addresses

String"NELSON"
suburbThe suburb of the address (only available if address has been validated)String"PAPAMOA BEACH"
state

The abbreviation for the state (only available if address has been validated)

Only applicable to Australian addresses 

String"NSW"

...

This object provides details about the 'root business' that this overall business verification pertains to. This would be the business that you are aiming to verify and originally searched for or manually created. 

...

Please note that this business is also contained within the 'entities' section of the results. It is has been extracted to this 'rootBusiness' section for ease of reference if you simply require the summary details for the business you are aiming to verify (i.e. the root business or top level business). 

Field NameDescriptionTypeExample
addressA structure encoding the address of the entity. Only the country details will be populated. Address-
businessNumberThe business number for this entity. If the business was manually created or does not have a business number registered within the relevant country then this will not be provided. This will be the business number for the business as registered on the stated 'dataSource'. Example: if the business was retrieved from the NZBN Register, then the business number will be the NZBN. String"111307361"
businessStatusThe status of the business as returned from a business register(Possible values will differ dependent on the business register)String"Registered"
businessTypeThe type of businessString"company"
businessSubtypeThe business subtypeString"AU Limited Company"
countryOfRegistration

The country where the business is registered, in the form of a two

-letter country code

-letter country code.

This will only be populated if the business is registered on the stated business register (see dataSource). 

String"AU"
dataSourceDetails on of the data source (i.e. g. a company business register) used for getting information on from which this entity's details were retrieved.DataSource-
documentsA list of documents associated with this entityList of Documents-
entityTypeThe type of this entity - this will always be "business"String"business"existenceVerifiedWhether or not the existence of this entity has been verified or not
existenceVerified

Whether or not the existence of this entity has been verified.

Existence is verified either by the business being found on a business register (see foundInRegister), or by the upload and verification of supporting documents.

Boolean"true" or "false"
foundInRegister

Whether or not this

entity was found in a company register

business was found on a business register 

(i.e. this will be 'true' if a lookup was performed against a business register using the business number, the business was successfully found and it's details retrieved)

Boolean"true" or "false"
fromDataSource

Whether or not details about this entity

came

were obtained from a

data source

business register (

e.g. a lookup of a company register)

i.e. this will be 'true' if:

  • this business was found via a lookup against a business register (in this case 'foundInRegister' will also be true) OR
  • the results from a lookup of a business on a business register included a reference to this business. Example: The results of lookup of a company included details of this business as a shareholder.
Boolean"true" or "false"
idThe unique ID of this entity (i.e. the legal entity name)Integer1097
nameThe name of this businessString"Acme Pty Ltd"
notesA list of notes associated with this entityList of Notes-
verificationA structure encoding verification details for the entity. This will provide the overall verification status for this 'business verification' (i.e. for the root business)Verification-
verificationNeverRequiredWhether or not verification is required for this entity. This will always be "false" for the root business.Boolean"true" or "false"