Use this API call to perform KYC verification of unregulated trusts.
You can add tags to your verification requests to help you organise your verifications by using the
.
Base64 encoded uploads must be submitted as a Data URI (with data format prefix). Example PDF format:
// 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",
"metadata_tags": ["product1", "client1"],
"type": "usaTrust",
"fields": {
"country": "USA",
"name": "entity name",
"trustType": "Irrevocable",
"registeredOfficeRequired": "Registered office USA",
"trustDeed": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="
},
"stakeholders": [
{
"type": "individual",
"role": "beneficiaries",
"fields": {
"firstName": "American",
"middleName": "ok",
"lastName": "Person",
"gender": "female",
"dateOfBirth": "30/10/1982",
"email": "person@email.com",
"country": "USA",
"socialSecurityNumber": "12345",
"address": "250 Point Lobos Ave, San Francisco CA",
"unitNumber": "",
"streetNumber": "250",
"streetName": "Point Lobos",
"streetType": "Ave",
"suburb": "San Francisco",
"postcode": "941211471",
"state": "CA",
"phone": "0432248425"
}
},
{
"type": "individual",
"role": "trustee",
"fields": {
"firstName": "American",
"middleName": "ok",
"lastName": "Person",
"gender": "female",
"dateOfBirth": "30/10/1982",
"email": "person@email.com",
"country": "USA",
"socialSecurityNumber": "12345",
"address": "250 Point Lobos Ave, San Francisco CA",
"unitNumber": "",
"streetNumber": "250",
"streetName": "Point Lobos",
"streetType": "Ave",
"suburb": "San Francisco",
"postcode": "941211471",
"state": "CA",
"phone": "0432248425"
}
},
{
"type": "individual",
"role": "settlors",
"fields": {
"firstName": "American",
"middleName": "ok",
"lastName": "Person",
"gender": "female",
"dateOfBirth": "30/10/1982",
"email": "person@email.com",
"country": "USA",
"socialSecurityNumber": "12345",
"address": "250 Point Lobos Ave, San Francisco CA",
"unitNumber": "",
"streetNumber": "250",
"streetName": "Point Lobos",
"streetType": "Ave",
"suburb": "San Francisco",
"postcode": "941211471",
"state": "CA",
"phone": "0432248425"
}
}
]
};
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.