A Business represents a company registered with the New Zealand Companies Office. It is associated with a single Account  API .
+Businesses
A Business represents a company registered with the New Zealand Companies Office. It is associated with a single Account  API .
Attributes
nzbn
accountId
test
taxNumber
Errors
INVALID_ACCOUNT
INVALID_NZBN
curl -X POST \
+
INVALID_ACCOUNT
INVALID_NZBN
BUSINESS_ALREADY_EXISTS
curl -X POST \
https://service.centrapay.com/api/businesses \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
@@ -157,7 +157,7 @@
Collapse all
taxNumber
farmlandsBusinessNumber
Errors
INVALID_ACCOUNT
INVALID_NZBN
BUSINESS_ALREADY_EXISTS
curl -X PUT \
+
INVALID_ACCOUNT
INVALID_NZBN
curl -X PUT \
https://service.centrapay.com/api/businesses/DKTs3U38hdhfEqwF1JKoT2 \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
@@ -264,7 +264,9 @@
/api/businesses/{businessId}/set-onboarding-statusThis endpoint returns allows you to set the onboarding status of a Business.
Attributes
onboardingStatus
crnonboardingStatusReason
Errors
BUSINESS_ALREADY_EXISTS
Requestcurl -X POST \
https://service.centrapay.com/api/businesses/DKTs3U38hdhfEqwF1JKoT2/set-onboarding-status \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
diff --git a/api/events/index.html b/api/events/index.html
index 57b3c5274..cce3d75ce 100644
--- a/api/events/index.html
+++ b/api/events/index.html
@@ -19,7 +19,7 @@