post https://api.kycaml.uat.frankiefinancial.io/compliance/v1.2/entity/new/idvalidate/getToken
Create an entity object and if successful, obtain a token for use in an ID Validation service SDK (web or native app)
At a minimum, you will need to supply:
- the entity familyName.
- the entity givenName
For best results, you should gather the DoB, address, ID document details as well before calling the initProcess function.
SPECIAL NOTE 1: Tokens have a limited lifespan, typically only 1 hour. Make sure you've used it or you will need to create another using update version of this function.
SPECIAL NOTE 2: This function will need to be followed up with a call to /entity/{id}/idvalidate/initProcess once you've collected all your data in your app/web capture process.