...v2/contracts/ID-1696407222/...
...versions/ID-1696407267/payment-instructions
We will change prolongation status to principal with interest. With this setting when the deposit contract is automatically prolonged, the interest is moved to principal.
The prolongationCode
parameter can have one of the following values:
PRINCIPAL - The deposit contract is extended to a new period with only the initial deposit principal amount. All interest accrued during the term will be paid out to the payout account defined for the deposit.
PRINCIPAL_WITH_INTEREST - The deposit contract is extended to a new period with both the initial deposit principal amount and the interest accrued during the previous term. The interest is capitalised, meaning it is added to the initial principal amount, resulting in a new principal amount for the next term period.
To change the deposit contract prolongation details, make the following API call.
Below is an example request body of the API call for changing deposit contract payout details.
Below you find an example response body to the API call above.
As a result, the deposit contract prolongation status was updated.
In this example, we will change the contract prolongation status for an active contract. We will use the that was previously created.
The contract header is ID-1696407222.
See the page for more details.
The active contract version is ID-1696407267
. See the page for more details.
deposit-api.sandbox.tuumplatform.com/api/v2/contracts/{headerId}/versions/{versionId}/prolongation-status
See more about the endpoint in the Tuum developer portal.