KYC verification of government bodies (AUS)
Use this API call to perform KYC verification of government bodies.
Parameters
Name | Type | Description |
---|---|---|
country (required) | string | AUS |
name (required) | string | |
abn (required) | string | 11 digits |
address | string | |
legislationType | string | establishedUnderCommonwealthLegislation / establishedUnderStateTeritoryLegislation / other |
legislationName | string | |
website | string |
legislationType options
Option | Description |
---|---|
establishedUnderCommonwealthLegislation | Established under Commonwealth legislation |
establishedUnderStateTeritoryLegislation | Established under State, Territory legislation |
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.
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
POST
/verify// api endpoint
const apiEndpoint = 'https://dev.bronid.com/verify';
// request body
const data = {
"metadata_version": "4",
"metadata_serviceUid": "XL7ULiU6B4QE9Y2iWFZnhtMDKFN2",
"metadata_secretKey": "api_sec_NJAtNcRtUrPlf7xYDrMNP9URI-ZfN314",
"metadata_userId": "yourUniqueUserId",
"metadata_tags": ["product1", "client1"],
"type": "governmentBody",
"fields": {
"country": "AUS",
"name": "My Government Body",
"abn": "16123456789",
"address": "125 York Street, SYDNEY NSW 2000",
"legislationType": "establishedUnderCommonwealthLegislation",
"legislationName": "specific",
"website": "https://www.gov.au"
}
};
try {
const response = await fetch(apiEndpoint, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(data),
});
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 result = await response.json();
const printResult = 'bronId API response: ' + JSON.stringify(result, null, 2);
console.log(printResult);
}
} catch (error) {
console.log('Fetch error: ', error);
}