KYC verification for individuals (GBR)

Use this API call to perform KYC verification of individuals.

Parameters

NameTypeDescription
country (required)string3 letter country ISO
firstName (required)string - letters only
middleName (required, if present)string - letters only
lastName (required)string - letters only
gender (required)stringmale/female
dateOfBirth (required)stringDD/MM/YYYY
address (required)stringaddress line 1
unitNumber (required, if present)string
streetNumber (required)string
streetName (required)string
streetType (required)stringStreet types
locality (required)string
postcode (required)string
phonestring
emailstring

Runnable example

// api endpoint
const apiEndpoint = 'https://dev.bronid.com/verify';

// request body
const kycData = {
	"metadata_version": "4",
	"metadata_serviceUid": "XL7ULiU6B4QE9Y2iWFZnhtMDKFN2",
	"metadata_secretKey": "dev_secret_key",
	"metadata_userId": "yourUniqueUserId",
	
	"type": "individual",
	"fields": {
		"country": "GBR",
		"firstName": "Jane",
		"middleName": "ok",
		"lastName": "Citizen",
		"gender": "female",
		"dateOfBirth": "20/10/1980",
		"address": "210 Pentonville Road",
		"unitNumber": "",
		"streetNumber": "210",
		"streetName": "Pentonville",
		"streetType": "Road",
		"locality": "London",
		"postcode": "N19AA",
		"phone": "2074999000",
		"email": "email@gmail.com"
	}
};

// submit the KYC data to the bronID API
axios
	.post(apiEndpoint, kycData)
	.then(res => {
		// print the verification results
		console.log('click the results to expand them');
		console.log(JSON.stringify(res.data, null, 2));
	})
	.catch(error => {
		console.error(error)
	})
	
// Click “▶ run” to try this code live and run your first KYC.