{"type":"cpf","value":"11144477735","valid":true,"formatted":"111.444.777-35","digits":"11144477735"}
curl --location --request GET 'https://zylalabs.com/api/13138/identity+document+validator+api/26652/validate+document?type=cpf&value=11144477735' --header 'Authorization: Bearer YOUR_API_KEY'
Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Identity Document Validator API simplemente incluye tu token de portador en el encabezado de Autorización.
| Encabezado | Descripción |
|---|---|
Autorización
|
Requerido
Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.
|
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
(Ahorra 2 meses pagando anualmente 🎉)
Empresas líderes confían en nosotros
Validate and format identity and business document numbers with correct check digit verification. Instantly confirm whether a given number is valid and receive it in a clean formatted form. The service can also generate valid sample numbers for software testing and quality assurance. Simple, fast and stateless.
The Validate Document endpoint returns data regarding the validity of an identity or business document number. It includes fields indicating the document type, the original number, its validity status, a formatted version, and the raw digits.
The key fields in the response data include "type" (document type), "value" (original number), "valid" (boolean indicating validity), "formatted" (cleanly formatted number), and "digits" (raw number without formatting).
The response data is organized in a JSON format, containing key-value pairs. Each response includes the document type, the original number, its validity status, a formatted version, and the unformatted digits, making it easy to parse and utilize.
The Validate Document endpoint provides information on the validity of various identity and business document numbers, including their formatted versions and whether they pass check digit verification.
The Validate Document endpoint accepts parameters such as "document type" (e.g., CPF, CNPJ) and "number" (the document number to validate). Users must specify these to receive accurate validation results.
La precisión de los datos se mantiene a través de rigurosos procesos de verificación de dígitos de control y actualizaciones regulares de los algoritmos de validación asegurando que la API proporciona resultados confiables y válidos para los números de documento
Typical use cases include validating user identity during onboarding processes, ensuring compliance in financial transactions, and generating valid sample numbers for software testing and quality assurance.
Users can utilize the returned data by checking the "valid" field to confirm document authenticity, using the "formatted" field for display purposes, and leveraging the "type" field to understand the document category for further processing.