KYC verification of government bodies (USA)

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

Parameters

NameTypeDescription
country
(required)
stringUSA
name
(required)
string
address
string
legislationType
stringfederal / state / other
legislationName
string
website
string

legislationType options

OptionDescription
federal
Federal
state
State
other
Other

Tags

You can add tags to your verification requests to help you organise your verifications by using the metadata_tags parameter. Read more about tags here.

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", "metadata_tags": ["product1", "client1"], "type": "governmentBody", "fields": { "country": "USA", "name": "entity name", "address": "USA address", "legislationType": "federal", "legislationName": "specific text", "website": "https://web.gov.au" } }; 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.