身份证不仅是我们的身份证明,更是社会生活中的“通行证”,现在人们的衣食住行都离不开身份证。但对于提供服务的平台而言,如何对用户提供的身份信息进行真伪核验便成为了一大难题。别担心,今天小编为服务平台带来了身份证二要素、三要素实名认证接口,助力有需求的用户快速实现身份证实名认证的功能。
翔云身份证实名认证接口,可通过身份证号码、姓名、人像等二要素、三要素认证的方式实现用户身份信息真伪的核验,实时联网,核验速度快,核验准确率有保障,数字化接口的方式,便于不同应用不同场景的快速集成。
以身份证实名认证接口C#开发语言为例:
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://netocr.com/verapi/veridenNoOrd.do");
var content = new MultipartFormDataContent();
content.Add(new StringContent("M***********g"), "key");
content.Add(new StringContent("3***********6"), "secret");
content.Add(new StringContent("3009"), "3001");
content.Add(new StringContent("陈**"), "trueName");
content.Add(new StringContent("13***************3"), "idenNo");
content.Add(new StringContent("json"), "format");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());