FinancingCdc

Rota responsável por analisar as condições da propostaDeprecated

SecurityoAuth2ClientCredentials
Request
Request Body schema:
cpf
required
string
cnpj
string or null
birthDate
required
string
clinicCode
required
string
requestedAmount
required
number <double>
monthlyIncome
required
number <double>
phoneNumber
string or null
Responses
200

Success

400

Unable to return conditions due to validation error

404

Not Found

post/api/v2/financingCdc/conditions
Request samples
{
  • "cpf": "string",
  • "cnpj": "string",
  • "birthDate": "string",
  • "clinicCode": "string",
  • "requestedAmount": 0,
  • "monthlyIncome": 0,
  • "phoneNumber": "string"
}
Response samples
application/json
{
  • "aproved": true,
  • "installments": 0,
  • "maxValue": 0,
  • "installmentOfMaxValue": 0,
  • "homogeneousGroup": 0,
  • "message": "string"
}

Rota responsável pela devolução do cálculo do financiamentoDeprecated

SecurityoAuth2ClientCredentials
Request
Request Body schema:
cpfCnpj
required
string
birthdate
required
string
uf
required
string
requestedAmount
required
number <double>
monthlyIncome
required
number <double>
homogeneousGroup
required
number <double>
clinicCode
string or null
isRebate
boolean
Responses
200

Return financing calculation

400

Unable to return financing calculation due to validation error

post/api/v2/financingCdc/financing-calculation
Request samples
{
  • "cpfCnpj": "string",
  • "birthdate": "string",
  • "uf": "string",
  • "requestedAmount": 0,
  • "monthlyIncome": 0,
  • "homogeneousGroup": 0,
  • "clinicCode": "string",
  • "isRebate": true
}
Response samples
application/json
{
  • "requestedAmount": 0,
  • "monthlyIncome": 0,
  • "clinicName": "string",
  • "clinicCode": "string",
  • "firstInstallmentDate": "string",
  • "simulations": [
    ],
  • "simulationErrors": [
    ],
  • "incomeCommitiment": 0,
  • "simulationRecordId": "string"
}

Rota responsável por checar o limite de financiamento e as parcelas elegíveis para um cliente

Este endpoint recebe dados do cliente para simular um financiamento e retorna as opções de parcelamento disponíveis ou uma descrição do erro

SecurityoAuth2ClientCredentials
Request
Request Body schema:

Dados necessários do cliente para fazer a simulação

cpf
string or null
cnpj
string or null
clinicCode
string or null
uf
string or null
requestedAmount
number <double>
withoutFee
boolean
birthdate
string <date-time>
entryAmount
number <double>
speciesAmount
number <double>
flagScr
boolean
phoneNumber
string or null
homogeneousGroup
number <double>
email
required
string
zipCode
required
string
Responses
200

Success

400

Bad Request

post/api/v2/financingCdc/financing-simulations
Request samples
{
  • "cpf": "string",
  • "cnpj": "string",
  • "clinicCode": "string",
  • "uf": "string",
  • "requestedAmount": 0,
  • "withoutFee": true,
  • "birthdate": "2019-08-24T14:15:22Z",
  • "entryAmount": 0,
  • "speciesAmount": 0,
  • "flagScr": true,
  • "phoneNumber": "string",
  • "homogeneousGroup": 0,
  • "email": "string",
  • "zipCode": "string"
}
Response samples
application/json
{
  • "productionCodeId": 0,
  • "approved": true,
  • "reason": "string",
  • "maxValue": 0,
  • "homogeneousGroup": 0,
  • "lowerHomogeneousGroup": true,
  • "simulationRecordId": "string",
  • "installments": [
    ]
}

Rota responsável por autenticação mecânica

Rota responsável por autenticação mecânica

SecurityoAuth2ClientCredentials
Request
path Parameters
proposalNumber
required
integer <int32>
Responses
200

Success

400

Bad Request

get/api/v1/financingCdc/payment-report/{proposalNumber}
Response samples
application/json
{
  • "mechanicalAuthentication": "string"
}

Rota responsável pela devolução do arquivo carnê

SecurityoAuth2ClientCredentials
Request
path Parameters
proposalNumber
required
integer <int32>
version
required
string
Responses
200

Return carne file

400

Não foi possível devolver o arquivo devido a erros

get/api/v1/financingCdc/proposals/{proposalNumber}/carne-file
Response samples
application/json
"string"

Rota responsável por consultar uma proposta

SecurityoAuth2ClientCredentials
Request
path Parameters
proposalNumber
required
integer <int32>
version
required
string
Responses
200

Return proposal status

400

Unable to consult proposal due to errors

get/api/v1/financingCdc/proposals/{proposalNumber}/proposal-inquiry
Response samples
application/json
{
  • "success": true,
  • "message": "string",
  • "service": "string",
  • "external": {
    },
  • "statusProposta": {
    },
  • "listaDocumento": [
    ]
}

Rota responsável por checar o limite de financiamento e as parcelas elegíveis para um cliente

Rota responsável por checar o limite de financiamento e as parcelas elegíveis para um cliente

SecurityoAuth2ClientCredentials
Request
Request Body schema:

Dados necessários do cliente para fazer a simulação

cpf
string or null
cnpj
string or null
clinicCode
string or null
uf
string or null
requestedAmount
number <double>
withoutFee
boolean
birthdate
string <date-time>
Responses
200

Success

400

Bad Request

post/api/v1/financingCdc/financing-simulations
Request samples
{
  • "cpf": "string",
  • "cnpj": "string",
  • "clinicCode": "string",
  • "uf": "string",
  • "requestedAmount": 0,
  • "withoutFee": true,
  • "birthdate": "2019-08-24T14:15:22Z"
}
Response samples
application/json
{
  • "productionCodeId": 0,
  • "approved": true,
  • "maxValue": 0,
  • "homogeneousGroup": 0,
  • "installments": [
    ]
}

Rota responsável pelo retorno do link de formalização da proposta

SecurityoAuth2ClientCredentials
Request
path Parameters
solicitationId
required
integer <int32>
Responses
200

Return financing calculation

400

Não foi possível retornar o link de formalização da proposta devido a erro de validação

404

Solicitation not found

post/api/v1/financingCdc/eletronic-signature-link/{solicitationId}
Response samples
application/json
{
  • "success": true,
  • "message": "string",
  • "service": "string",
  • "external": {
    },
  • "link": "string"
}