Due Date Adjustment

To request a new renegotiation of type due_date_adjustment, you can follow these steps:

1. Get the Loan's present_value through the API

Make a request to this endpoint GET /loans/{uuid}

And find the present_amountof the loan, in our example, this amount is 5397.84

2. Simulate the new payment schedule

Make a request to this endpoint POST /loans/simulate/:

  • you need to send the present_value in the requested_amount field
  • you need to keep the original interest rate you have in the CCB, in our example, 0.035 (3.5%)
  • and the last installment date cannot be after the CCB maturity date (last installment of the CCB)

By doing it, you'll receive the new payment schedule that you can now use in the renegotiations endpoint

3. Request the renegotiation

To do it, you can make a request to the POST /loans/{uuid}/schedule-requests/ endpoint, using the exact same amount and due dates for the installments.

Observation: when requesting the renegotiation, the payment field of the simulation becomes fixed_amount, and the payment_date becomes due_date

The contract will be crafted and sent to the DocuSign to be signed, and you'll receive the first webook: contract_sent.

That's it! 🚀