Loans

Restructure a loan

Restructures an existing loan based on provided details.

post/v2/loans/{originalLoanId}/restructure

Request

  • Base URL
    https://sandbox.pismolabs.io/lending
  • URL
    https://sandbox.pismolabs.io/lending/v2/loans/{originalLoanId}/restructure
  • Auth
    HTTP bearer

Path parameters

originalLoanIdstring uuid required

The ID of the original loan to restructure

Headers

Idempotency-Keystring uuid required

Required UUID that makes the request idempotent, enabling you to retry it multiple times while the system processes it only once.

Request body

installment_plan_idstring required

Installment plan ID

loan_product_idstring required

Loan product ID

number_of_installmentsinteger required

Number of installments

Response

Restructure request accepted. Processing is asynchronous, so the new loan is not returned. The original loan transitions to RENEGOTIATED; retrieve it and read its restructure_loan_id to obtain the new loan ID.

tracking_idstring

Tracking ID for the asynchronous restructure processing. Matches the idempotency key sent in the request.

Changes

No recorded changes to this operation across all 1 revision of this API.