KYC verification of individuals (NZL)

Use this API call to perform KYC verification of individuals.

Parameters

NameTypeDescription
country
(required)
stringNZL
firstName
(required)
string - letters, apostrophes, spaces, hyphensLess than 80 characters
middleName
(required, if present)
string - letters, apostrophes, spaces, hyphensLess than 80 characters
lastName
(required)
string - letters, apostrophes, spaces, hyphensLess than 80 characters
dateOfBirth
(required)
stringDD/MM/YYYY
unitNumber
(required, if present)
string or null*
streetNumber
(required)
string
streetName
(required)
string
streetType
(required, if present)
string or null*Street types
suburb
(required)
stringNew Zealand suburb name
postcode
(required)
string4 digits
gender
stringmale/female/other/preferNotToSay
email
string

ID documents

Submitting ID documents is optional. You can use ID documents as a verification source to improve the likelihood of a successful verification.

Driver licence

NameTypeDescription
driversLicenceNumber
(required, if submitting)
string2 letters followed by 6 digits
driversLicenceVersionNumber
(required, if submitting)
string3 alphanumeric characters
driversLicenceImageFront
stringbase64 Data URI (JPG/PNG/PDF)
driversLicenceImageBack
stringbase64 Data URI (JPG/PNG/PDF)

Passport

NameTypeDescription
passportNumber
(required, if submitting)
string1 or 2 letters followed by 6 digits
passportCountryOfIssue
(required, if submitting)
stringNZL
passportDocumentExpiry
(required, if submitting)
stringDD/MM/YYYY
passportImage
stringbase64 Data URI (JPG/PNG/PDF)

Note on NZL passports

Passports submitted for NZL individuals must have been issued by New Zealand.

Note on uploading documents

Base64 encoded uploads must be submitted as a Data URI (with data format prefix). Example PDF format: "data:application/pdf;base64,JVBERi0xLjUKJYCBgoMKMSAwIG9i..."

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": "individual", "fields": { "country": "NZL", "firstName": "Jane", "middleName": "ok", "lastName": "Citizen", "dateOfBirth": "20/10/1982", "unitNumber": "1", "streetNumber": "20", "streetName": "Karamu", "streetType": "Street", "suburb": "Taupo", "postcode": "3330", "email": "email@gmail.com" } }; 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.