Skip to main content

Credit Analysis - Legal Entity

To perform the credit analysis of a legal entity, use the Legal Person endpoint.

At the time a legal entity credit analysis is performed, the following data must be sent to our server.

Request Body
{
"id": "12345678",
"credit_request_date": "2021-03-31T10:30:00-03:00",
"credit_type": "student_loan",
"legal_name": "QI Tech Tecnologia LTDA",
"trading_name": "QI Tech",
"document_number": "35.472.523/0001-15",
"constitution_date": "2019-11-11",
"constitution_type": "llc",
"email": "suporte.caas@qitech.com.br",
"monthly_revenue": 50000000,
"client_category": "Premium User",
"client_since": "2021-02-11",
"address": {
"country": "BRA",
"street": "Av. Brigadeiro Faria Lima",
"number": "2391",
"neighborhood": "Jardim Paulistano",
"city": "São Paulo",
"uf": "SP",
"postal_code": "01452-905"
},
"phones": [
{
"international_dial_code": "55",
"area_code": "11",
"number": "32234611",
"type": "residential"
}
],
"shareholders": [
{
"name": "Anna Pinto Azevedo",
"document_number": "261.026.462-31",
"birthdate": "1972-08-22",
"email": "annapintoazevedo@sample.com",
"nationality": "BRA",
"mother_name": "Beatrice Rodrigues Pinto",
"father_name": "Luís Azevedo",
"monthly_income": 800000,
"declared_assets": 18600000,
"occupation": "law",
"gender": "female",
"address": {
"country": "BRA",
"street": "Rua Derviche Djouki",
"number": "598",
"complement": "Ap 857",
"neighborhood": "Chora Menino",
"city": "São Paulo",
"uf": "SP",
"postal_code": "02463-080"
},
"phones": [
{
"international_dial_code": "55",
"area_code": "11",
"number": "55988644",
"type": "mobile"
}
]
}
],
"guarantors": [
{
"name": "Melissa Lima Melo",
"document_number": "677.498.846-61",
"birthdate": "1960-11-21",
"email": "exemplo2@sample.com",
"nationality": "BRA",
"mother_name": "Raíssa Lima",
"father_name": "Ronaldo Melo",
"monthly_income": 800000,
"declared_assets": 18600000,
"occupation": "law",
"gender": "female",
"address": {
"country": "BRA",
"street": "Rua Castro Alves",
"number": "100",
"complement": "Ap 202",
"neighborhood": "Parque Estrela Dalva I",
"city": "Luziânia",
"uf": "GO",
"postal_code": "72804-050"
},
"phones": [
{
"international_dial_code": "55",
"area_code": "11",
"number": "21158745",
"type": "residential"
}
]
}
],
"financial": {
"amount": 100000,
"currency": "BRL",
"interest_type": "cdi_plus",
"annual_interest_rate": 2.32,
"cdi_percentage": 100,
"number_of_installments": 4
},
"warrants": [
{
"warrant_type": "real_estate",
"address": {
"country": "BRA",
"street": "Rua Curitiba",
"number": "150",
"complement": "Bl 3 apt 122",
"neighborhood": "Paraíso",
"city": "São Paulo",
"uf": "SP",
"postal_code": "04005-030"
},
"property_type": "house",
"estimated_value": 100000000,
"forced_selling_value": 60000000
}
],
"source": {
"channel": "website",
"ip": "132.23.161.75",
"session_id": "2bb684f9-6c00-4993-bcd7-18b9eccd7c9d"
},
"scr_parameters" : {
...
}
}

A credit analysis must be submitted to the API before disbursement and can be used to decide whether or not to grant credit. The submitted data may also, upon agreement with the client, be used for fraud prevention.

The objects used in the composition of the CreditProposal object and not defined in this section are available in the Shared Objects section.

nametypedescription
idstringIdentifier of the credit proposal in your system.
It is essential that this number is unique for each credit analysis process
registration_idstringIdentifier of the registration in the client’s system. Used to perform more than one analysis related to the same registration
credit_request_datedatetimeThe date and time when the credit was requested by the applicant
credit_typeenumType of credit being granted. Currently supported: clean, student_loan, credit_card_limit
legal_namestringCompany’s legal name
trading_namestringCompany’s trade name
document_numberstringThe CNPJ, formatted according to the pattern established in this documentation
monthly_revenueintegerGross monthly revenue in cents
client_categorystringCustomer category according to your platform’s classification or loyalty program
client_sincedateService start date for this customer
constitution_datedateThe company's incorporation date, according to the commercial registry
constitution_typeenumCompany’s incorporation type: LLC, corp
emailstringThe company representative’s email
addressAddressCompany headquarters address
phoneslist of PhonesCollected phone numbers of the company
shareholderslist of NaturalPersonCompany shareholders, in natural person model (NaturalPerson object)
guarantorslist of PersonOperation guarantors, either natural (NaturalPerson) or legal (LegalPerson)
financial.amountintegerTotal amount being requested by the applicant, which will be disbursed in case of approval
financial.currencyenumCurrency unit for the total amount: BRL, USD, EUR
interest_typeenumDebt indexer to be used: cdi_plus, cdi_percentage, price, pre_fixed
annual_interest_ratenumberThe fixed part of the interest rate, expressed annually as a percentage
cdi_percentagenumberThe CDI (post-fixed) percentage to be charged
number_of_installmentsintegerNumber of installments
warrantsWarrantReal guarantee data offered in the operation. Must be agreed upon before going live. Currently accepted types: real_estate
sourceSourceCredit sales channel. Currently accepted values: website and app
scr_parametersScrParametersObject with the necessary information to use SCR data in credit analysis
Request Body
  {
"id": "12345678",
...
}
Response Body
{
"id": "12345678",
"analysis_status": "automatically_approved",
"reason": "rule_decision_enum"
}

To evaluate a credit proposal, simply send an object of type LegalPerson to the following endpoint:

POST https://api.caas.qitech.app/credit_analysis/legal_person