Service to query Peruvian citizens using government ID issued in Peru.
Peruvian Citizen Information
GET - https://api.verifik.co/v2/pe/cedula
The Peruvian Foreigner ID Verification service allows you to verify the identity of a foreign resident in Peru using their foreigner ID number. This service returns personal information, such as full name, date of birth, and residence details, along with a signature to certify the authenticity of the response.
var request =URLRequest(url:URL(string:"https://api.verifik.co/v2/pe/cedula?documentType=DNI&documentNumber=1234567")!,timeoutInterval:Double.infinity)request.httpMethod="GET"let task =URLSession.shared.dataTask(with: request) { data, response, error in guard let data = data else {print(String(describing: error))return }print(String(data: data,encoding:.utf8)!)}task.resume()