KYC verification of sole traders (NZL)

Use this API call to perform KYC verification of sole traders.

Parameters

NameTypeDescription
country
(required)
stringNZL
name
(required)
string
nzbn
(required)
string6-13 digits
principalPlaceOfBusinessRequired
(required)
stringaddress
stakeholders
(required)
arrayindividuals (*)

Stakeholder types

NameTypeNote
individuals
individual

Runnable example

const apiEndpoint = 'https://dev.bronid.com/verify'; // request body const kycData = { "metadata_version": "4", "metadata_serviceUid": "XL7ULiU6B4QE9Y2iWFZnhtMDKFN2", "metadata_secretKey": "api_sec_NJAtNcRtUrPlf7xYDrMNP9URI-ZfN314", "metadata_userId": "yourUniqueUserId", "type": "soleTrader", "fields": { "country": "NZL", "name": "My Sole Trader", "nzbn": "123456789", "principalPlaceOfBusinessRequired": "1/20 Karamu Street, Taupo 3330" }, "stakeholders": [ { "type": "individual", "role": "individuals", "fields": { "firstName": "Jane", "middleName": "ok", "lastName": "Citizen", "gender": "female", "dateOfBirth": "20/12/1982", "unitNumber": "1", "streetNumber": "20", "streetName": "Karamu", "streetType": "Street", "suburb": "Taupo", "postcode": "3330", "email": "email@gmail.com", "country": "NZL" } } ] }; console.log('Running request. Please wait...') // 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.