v1

latestOpenAPI 3.0.42026-07-24150552428.5 KB
Motor de Crédito

Análise detalhada por cliente específico.

post/creditengine/{fundTaxId}/customer/evaluation

Path parameters

fundTaxIdstring text required
Example:13339532000109

CNPJ do fundo

Request body

proposalIdstring text nullable

id da proposta na dataprev

inlet'CTPS' | 'Partner' text

canal de entrada do pedido da operação

requestedAmountnumber double

valor solicitada da operação via CTPS

requestedInstallmentsnumber

quantidade de parcelas solicitada da operação via CTPS

Example request

{
  "proposalId": "PRP-3bd1e5ad73b84f4485aaed19c8aa6f1f",
  "inlet": "CTPS",
  "requestedAmount": 1830.89,
  "requestedInstallments": 1,
  "client": {
    "name": "Nome do Cliente",
    "gender": "Male",
    "dateOfBirth": "1988-10-11T14:32:50",
    "nationality": "Brasileira",
    "alerts": [
      {
        "refereceDate": "2023-05-19T00:00:00",
        "leaveDate": "2023-05-12T14:32:50",
        "leaveEndDate": "2023-05-19T02:54:22",
        "dimissalDate": "2023-06-05T11:52:36",
        "advanceNoticeDate": "2023-06-09T10:21:51",
        "advanceNoteceEndDate": "2023-06-10T15:40:17"
      }
    ],
    "document": "12345678900",
    "baseMarginAmount": 1830.89,
    "availableMarginAmount": 640.81,
    "isEligible": true,
    "registration": "MERCADO3232",
    "workCategory": 101,
    "admissionDate": "2023-05-19T00:00:00"
  },
  "employer": {
    "cnae": "4000000",
    "name": "Nome da Empresa",
    "registration": "12345678000100",
    "registrationType": "CNPJ",
    "activityStartDate": "2020-12-04T00:00:00"
  }
}

Response

Successo

proposalIdstring text

id da proposta na dataprev

effectiveness'Approved' | 'Rejected'

status da validação

apparentLimitAmountnumber double
expirationDatestring datetime
creationDatestring datetime

Example response

{
  "proposalId": "PRP-1060818A",
  "effectiveness": "Approved",
  "apparentLimitAmount": 28830.8,
  "expirationDate": "2023-05-19T11:52:46.6402444-03:00",
  "creationDate": "2023-05-19T11:52:46.6402444-03:00",
  "taxes": [
    {
      "rate": 0.0349,
      "taxModality": "WithInsurance",
      "minInstallments": 2,
      "maxInstallments": 24,
      "penaltyFeeRate": 0.02,
      "interestArrearsRate": 0.01,
      "minInstallmentsAllowed": 2,
      "minAmountPerInstallmentsAllowed": 50,
      "maxAmountPerInstallmentsAllowed": 3864.47
    }
  ]
}