Proposal API

The Proposal API begins the second step of credit's flow. After you get a quotation and then this quotation becomes approved, it will be send a response with the conditions and installments options of this quotation. Each installment option will be related to a ID (installments_option_id). It should be informed to the Proposal API which installment option was choose by the borrower. Then it will be created a proposal, related to the approved quotation and the installment option id.

After the proposal creation, it will be send a value that can assume different values. We highlight the following "response_type":

  • (i) "RETORNO_PROPOSTA_ENVIADA";
  • (ii) "RETORNO_PROPOSTA_RECEBIDA";
  • (iii) "RETORNO_PROPOSTA_CONFIRMAR_CONTRATO"; or
  • (iv) “RETORNO_PROPOSTA_EM_ASSINATURA".

The “RETORNO_PROPOSTA_ENVIADA” is sent when the Requester does not want to synchronously receive the result of the proposal creation or approval. The “RETORNO_PROPOSTA_RECEBIDA”, indicates that the request was received and, according to the product's configuration, it does not have a completely automatic flow, and may, for example, have documentation analysis step. Therefore, the return will be effective later. The “RETORNO_PROPOSTA_CONFIRMAR_CONTRATO”, indicates that the proposal was successfully created and the formalization step was started and, according to the product configuration, it is waiting for the contract to be released. The “RETORNO_PROPOSTA_EM_ASSINATURA”, indicates that the proposal was created, the formalization of the operation was started and a contract was generated, awaiting the signature of the previously defined signatories.

Another feature of the Proposal API is that, in addition to informing the installment option chosen by the Borrower, registration data, documents and disbursement data that were not informed in the Quotation API can be sent.

Integration

There is an example to consume the API, or click here to follow the full documentation.

application/json
{
  • "request_info": {
    },
  • "borrower_info": {
    },
  • "natural_borrower_complement_info": {
    },
  • "legal_borrower_complement_info": {
    },
  • "legal_borrower_representatives": {
    },
  • "natural_guarantors_info": [
    ],
  • "disbursement_info": {
    },
  • "documents": {},
  • "additional_fields": {
    },
  • "device_info": "{ \"device\": { \"id\": \"DEVICE_ID2010101010101\", \"ip_address\": \"00.00.0.000\", \"headers\": [ { \"name\": \"Connection\", \"value\": \"Keep-Alive\" }, { \"name\": \"X-Forwarded-For\", \"value\": \"00.00.0.001, 00.00.0.002, 00.00.0.003\" }, { \"name\": \"Via\", \"value\": \"1.1 google\" }, { \"name\": \"X-Cloud-Trace-Context\", \"value\": \"000000000000001/0000000000002\" }, { \"name\": \"Cf-Connecting-Ip\", \"value\": \"00.00.0.000\" }, { \"name\": \"Content-Type\", \"value\": \"application/json\" }, { \"name\": \"User-Agent\", \"value\": \"GuzzleHttp/7\" }, { \"name\": \"Cf-Visitor\", \"value\": \"{\\\"scheme\\\":\\\"https\\\"}\" }, { \"name\": \"X-Forwarded-Proto\", \"value\": \"https\" }, { \"name\": \"Content-Length\", \"value\": \"0000\" }, { \"name\": \"Cf-Ray\", \"value\": \"000000000000-ABC\" }, { \"name\": \"Accept-Encoding\", \"value\": \"gzip, br\" }, { \"name\": \"Cf-Ipcountry\", \"value\": \"BR\" }, { \"name\": \"Cdn-Loop\", \"value\": \"any\" }, { \"name\": \"Host\", \"value\": \"website.com\" } ], \"user_identity_cookies\": [], \"jsc\": \"abc20ska-2maba-X\", \"hdim\": { \"payload\": \"abc123-H\" } } }"
}

Document historic

VersionDataNotes
1.02022-06-20First version