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 accessible for a 31 days after generation (reduced prefilled data after 30 minutes)
  • URL can be opened maximum 10 times without being saved
  • URL can be used for a maximum of 5 verification attempts

Runnable example

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": "16123456789", "acn": "123456789", "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" } } ] }; console.log('Running request...') // submit the KYC data to the bronID API try { const response = await fetch(apiEndpoint, { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(kycData), }); if (!response.ok) { const errorData = await response.json(); console.log('error! click the results to expand them'); console.log(JSON.stringify(errorData, null, 2)); } else { const bronIdResult = await response.json(); const printResult = 'bronId API response: ' + JSON.stringify(bronIdResult, null, 2); console.log(printResult); } } catch (error) { console.log('Fetch error: ', error); } // Click “▶ run” to try this code live and run your first KYC.