Agile App Co. Ltd

developer@agileapp.co | 01273 782444

Integrating with SmileID KYC Platform using C# ASP.NET

We recently had the task of integrating a KYC platform known as SmileIdentity targetting primarily African countries due to the challenges involved with the KYC process there. 

Smile do not offer an SDK for ASP.NET which is what we needed so we had to reverse engineer the other SDK’s to start.

The first thing you need to do is build a controller action to retrieve a token. For this you need a partner id, an API token (generated from the SmileIdentity Developer web page) and a function that generates a signature and timestamp from the above values. 

Follow the documentation on the Smile Docs page to get the initial javascript into your page that loads the hosted KYC widget. Once that is done you need an endpoint to retrieve a token. 

The following code shows how to achieve this in ASP.NET. For this project we weren’t using .NET Core but this code could be easily translated to .NET core as it is a simple HttpClient mechanism for integrating with SmileID. 

Leave a Comment

Scroll to Top