KYC forms for private companies (AUS)

In this example, we are going to generate a form for verification of a private company with a flat structure (1 level) of stakeholders. The company info and the stakeholder data will be prefilled on the form. If there is a stakeholder missing, or the structure is incorrect, the customer can correct the structure when the open the form.

Note: This page contains only params relevant for the specific example. For a complete list of params for this API call visit this page.

Response

The response of the forms API contains the bronLink parameter. You can share this link with you customers via email, SMS or redirect them to the link from your app. The information you have submitted will be prefilled for them on the form. After they complete the verification you will receive a webhook with the verification status.

Response format

{
    "source": "bronid",
    "bronLink": "https://preview.bronid.com/idForm/5ae132d1-a4f6-4e72-adf4-92aa4faa39a3",
    "verificationUuid": "5ae132d1-a4f6-4e72-adf4-92aa4faa39a3",
    "status": "success"
}

Restrictions

  • URL is only accessible for a limited time (30 minutes) after generation
  • URL can only be opened 3 times
  • URL can be used for a maximum of 5 verification attempts

Runnable example

// api endpoint
const apiEndpoint = 'https://dev.bronid.com/idform';

// request body
const kycData = {
	"metadata_serviceUid": "XL7ULiU6B4QE9Y2iWFZnhtMDKFN2",
	"metadata_secretKey": "api_sec_NJAtNcRtUrPlf7xYDrMNP9URI-ZfN314",
	"metadata_version": "4",
	"metadata_userId": "yourUniqueUserId",
	
	"bronLink_dataAccessType": "idForm",
	
	"type": "privateCompany",
	"fields": {
		"country": "AUS",
		"abn": "123456789",
		"acn": "16123456789",
		"name": "Pass My Company",
		"registeredOffice": "125 York Street",
		"principalPlaceOfBusiness": "250 York Street"
	},
	
	// stakeholder details
	"stakeholders": [
		{
			"type": "individual",
			"role": "shareholders",
			"fields": {
				"firstName": "Jane",
				"middleName": "ok",
				"lastName": "Citizen",
				"gender": "female",
				"dateOfBirth": "11/10/1980",
				"address": "125 York st",
				"email": "email@gmail.com",
				"country": "AUS"
			}
		},
		{
			"type": "individual",
			"role": "directors",
			"fields": {
				"firstName": "Dave",
				"middleName": "ok",
				"lastName": "Citizen",
				"gender": "male",
				"dateOfBirth": "20/10/1980",
				"address": "125 Pitt st",
				"email": "email@gmail.com",
				"country": "AUS"
			}
		}
	]
};

// submit the KYC data to the bronID API
axios
	.post(apiEndpoint, kycData)
	.then(res => {
		// print the verification results
		console.log('click the results to expand them');
		console.log(JSON.stringify(res.data, null, 2));
	})
	.catch(error => {
		console.error(error)
	})
	
// Click “▶ run” to try this code live and run your first KYC.