Skip to main content

Recalculate Credit Operation

Recalculates the financial terms of an existing credit operation based on a new installment face value. Ideal for when the beneficiary's consignable margin changes and the installment amount needs to be adjusted.

Advantages
  • Preserves original terms — interest rates, tenors, and operation structure are maintained; only the installment value changes
  • Immediate response — the operation is recalculated and returned in the same call, no async processing
  • Automatic validation — the endpoint verifies preconditions, rate limits, and INSS rules before applying

Request

ENDPOINT
/v2/credit_operation/CREDIT_OPERATION_KEY/recalculate
METHOD
POST

Path Params

credit_operation_keystring (UUID)requiredUnique key of the credit operation to be recalculated.

Body Params

installment_face_valuenumberrequiredNew installment face value. Must be less than or equal to the original value and above the minimum threshold.
{
"installment_face_value": 180.50
}
Warning

The new installment_face_value can only be reduced from the original value. The endpoint rejects values above the original or outside the allowed variance range.

Preconditions

The operation must meet all of the following conditions to be recalculated:

ConditionError if not met
Operation existsCOP000027 (404)
Requester owns the operationQIT000005 (403)
Collateral type is social_securityCOP000276
Status: waiting_signature, issued, or canceledCOP000489
Collateral not yet constitutedCOP000489
Operation type: structured_operationCOP000489
Disbursement end date not expiredCOP000489
Original operation has an installment_face_valueCOP000489
New value within allowed limitsCOP000490

Response

STATUS
200

Returns the full recalculated credit operation object — same structure as the credit operation query by key.

Errors

HTTP CodeQI CodeDescriptionTranslation
404COP000027Credit Operation not foundOperação não encontrada
403QIT000005Selected agent does not own this itemO agente selecionado não é dono do item
400COP000276Collateral type doesn't allow recalculationGarantia do contrato não permite que a operação seja recalculada
400COP000335Assignment amount exceeds operation final amountO valor de cessão é superior ao valor final da operação
400COP000339Final disbursement amount cannot be negativeO valor de desembolso final não pode ser negativo
400COP000489Operation not allowed to be recalculatedA operação de crédito não está permitida para ser recalculada
400COP000490Installment face value variance not allowedA variação do valor da parcela não está permitida
Detailed reasons for error COP000489

The COP000489 code is returned for different unmet preconditions. The reason field in the response indicates the specific cause:

ReasonDescription
Invalid statusCredit operation status does not allow recalculation
Collateral already constitutedThe credit operation collateral has already been constituted
Invalid operation typeCredit operation type does not allow recalculation
Disbursement date expiredThe credit operation disbursement end date is in the past
Missing installment valueInstallment face value was not informed in the original operation