KYC verification of government bodies (NZL)

Use this API call to perform KYC verification of government bodies.

Parameters

NameTypeDescription
country
(required)
string3 letter country ISO
name
(required)
string
address
string
legislationType
stringnational / local / other
legislationName
string
website
string

legislationType options

OptionDescription
national
National
local
Local
other
Other

Runnable example

// api endpoint 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": "governmentBody", "fields": { "country": "NZL", "name": "My Government Body", "address": "1/20 Karamu Street, Taupo 3330", "legislationType": "national", "legislationName": "specify", "website": "www.gov.nz" } }; console.log('Running request...') // submit the KYC data to the bronID API const bronIdResult = await axios .post(apiEndpoint, kycData) .then(res => { return res.data; }) .catch(error => { console.log('error! click the results to expand them'); console.log(JSON.stringify(error.response.data, null, 2)); }) const printResult = 'bronId API response: ' + JSON.stringify(bronIdResult, null, 2); // Click “▶ run” to try this code live and run your first KYC.