Query Reporte de crédito especial - Personas Físicas por kiban

Query for a special credit report to Personas físicas by kiban

Intro

API to query Reporte de crédito Especial - Personas Físicas by kiban.
The response corresponds to the one returned by the Buró de Crédito for a special credit report in JSON format.

Important points

Request example

In the query example, all the fields that are mandatory to be able to make a query are presented. The fields for a correct query are described below.

ObjectobjectobjectTypeObligatoryDescription
nombreObjectYesName object, where the data associated with the person to be consulted is placed
primerNombreStringYesFirst name of the person to consult
segundoNombreStringNoSecond name of the person to consult
apellidoPaternoStringYesFirst last name of the person
apellidoMaternoStringNosecond last name of the person
rfcStringYesRFC of the person: both the 10-character format without homokey and the 13-character format with homoclave are accepted.
domicilioObjectYesObject containing the structure of the adress
direccionObjectYesInternal object that contains the fields of the adress
direccionStringYesField to indicate the home address of the person consulted
cpStringYesPostal code of the home address of the person consulted
authorizationObjectYesObject containing the NIP authorization method
tipoStringYesType of authorization, always indicate the value "nip"
idStringYesPlace the generated identifier in the NIP process to authenticate this query.

Example JSON

{
    "nombre" : {
        "primerNombre" : "REPORTE",
        "segundoNombre" : "CREDITO",
        "apellidoPaterno" : "ESPECIAL",
        "apellidoMaterno" : "KIBAN",
        "rfc" : "KIBA901010",
        "fechaNacimiento" : "1990-10-10",
        "email": "[email protected]"
    },
    "domicilio" : {
        "direccion" : {
            "direccion" : "AV PASEO DE LA REFORMA 403",
            "cp" : "06500"
        }
    },
    "authorization" : {
        "tipo": "nip",
        "id": "66a01f0ad5424abb035c8c9f"
    }
}

authorization

You will notice in the mandatory fields, "tipo" and "id" within an authorization segment:

 "authorization": {
    "tipo": "nip",
    "id": "645a74e7dda9781161e787b"
  }

"Tipo" should always be filled with "nip" and "id" by the response of the validate nip call

To obtain the id in the validate nip call, it is mandatory to have performed the complete NIP Bureaus process

🚧

Certification

In order to run this API in production, you must have completed the certification process described in the following certification link, otherwise your request will be rejected, and you will get the "Certification required" example as error response.

Test cases

We have included a query parameter in Sandbox to enable you to query the test cases that we created for running tests. To get a response, fill the testCaseId parameter with any of the following cases:

NumIdNameDescription
1663567bb713cf2110a110689Consulta reporte de crédito por kibanSuccessful credit report response
2663567bb713cf2110a110688NIP inválidoIndicates that the PIN used to authenticate the query is not valid
3663567bb713cf2110a11068aScore no disponibleIndicates that the person was consulted, but there was an error when recovering the score

📘

You can also create your own test cases

You can create your own test cases with our test case link module and you will be able to receive these cases in your responses, you just have to enter the id of your test case as a testCaseId parameter.

For more information visit our knowledge center to know more about test cases

Data cleaning

Before sending the data to Buró de Crédito, kiban cloud performs data cleaning, necessary to prevent Buró de Crédito from sending back an error.

Here are the validations and transformations we are performing:

  • Validate that the data you included is alphabetical.
  • Remove the accents.
  • Replace the letter Ñ by N.
  • Remove the special characters.
  • Put letters in uppercase.
  • Remove spaces at the beginning and end of values (trimming).
  • Allow compound surnames, for example, Del Toro.
  • Do not allow two names in the primerNombre field.
  • Remove commas from the address field.
  • Split the address if it is greater than 40 characters : we then send the address in two different fields (40 caracteres max per field) to Buró de Crédito.

If you detect transformation in the data that you included in your call, this is because of the rules mentioned above, required to make a successful call to Buró de Crédito.

Language
Credentials
Header
Click Try It! to start a request and see the response here!