In this article we will review how to default a loan contract.
The loan contract header ID is ID-1664282427 and the contract version is ID-1664282427.
...v2/contracts/ID-1664282427/versions/ID-1664282427/...
To default the loan contract, make the following API call.
Below is an example request body of the API call for defaulting the loan contract.
Below you find an example response body to the API call above.
The contract with the number SM-1000
is set to the DEFAULT status.
You can find the header ID and the contract version by calling the API endpoint.
https://loan-api.sandbox.tuumplatform.com/api/v2/contracts/{headerId}/versions/{versionId}/default
See more about the endpoint in the Tuum developer portal.