Businesses
A Business represents a company registered with the New Zealand Companies Office. It is associated with a single Account .
Business Model
Attributes
Onboarding Statuses
Status | Description | Allowed Reasons |
---|---|---|
applied | Identifies businesses that have registered to be activated for the Centrapay service. | |
provisioning | Identifies businesses that are in the process of being activated for the Centrapay service. | |
active | Identifies businesses that have been activated for Centrapay services successfully (i.e. they have successfully created a Payment Request). | |
deactivated | Identifies businesses that have been de-registered for the Centrapay service. | data-quality-issues,change-of-ownership, centrapay-discontinued, duplicate, blocked |
on-hold | Identifies businesses that have been placed on hold. | seasonal-business-closure, no-response |
Onboarding Status Reasons
Reason | Description |
---|---|
duplicate | The business already exists in the Centrapay system. |
data-quality-issues | Data quality issues are preventing the business from onboarding. |
no-response | No response has been received from the business. |
change-of-ownership | The business has changed ownership. |
centrapay-discontinued | The business is no longer using Centrapay. |
seasonal-business-closure | The business has closed temporarily. |
Tax Number Model
Attributes
-
value
-
type
Create Business
This endpoint allows you to create a new Business. If accountId
is not provided when creating a Business, then a new org account will be created and associated to the Business.
Attributes
-
nzbn
-
accountId
-
test
-
taxNumber
Errors
-
INVALID_ACCOUNT
-
INVALID_NZBN
-
BUSINESS_ALREADY_EXISTS
Update Business
This endpoint allows you to update a Business.
Attributes
-
tradingName
-
taxNumber
-
farmlandsBusinessNumber
Get Business by Account Id
This endpoint allows you to retrieve a Business by account id.
Search NZ Company Register
This endpoint returns a list of companies that match the queried param on company name, nzbn number or company number. Results are paginated and ordered by relevance.
Get Business Details from NZ Company Register
This endpoint allows you to retrieve a Business by account id.
Set Business Onboarding Status
This endpoint returns allows you to set the onboarding status of a Business.
Attributes
-
onboardingStatus
crn -
onboardingStatusReason
Errors
-
BUSINESS_ALREADY_EXISTS