Create contract fee booking
Use case
In this article, we will review how to create a loan contract fee booking.
Use case data
API parameters with values
Contract booking fee type. We will book an account administration fee.
"componentTypeCode": "ADM"
The date when the fee must be reversed. The date format is: YYYY-MM-DD.
"effectiveDate": "2023-08-08"
The fee amount is 10 EUR.
"money": {
"amount": "10",
"currencyCode": "EUR"
}
The fee will be applied with the next payment. Note that you can also use the INSTANT option to apply the fee instantly.
"repaymentTypeCode": "WITH_NEXT_PAYMENT"
Sample API call
To create a contract fee booking, make the following API call.
https://loan-api.sandbox.tuumplatform.com/api/v1/contracts/{headerId}/fees
Sample request
Below is an example request of the API call for creating a fee booking.
{
"componentTypeCode": "ADM",
"effectiveDate": "2023-08-08",
"money": {
"amount": "10",
"currencyCode": "EUR"
},
"repaymentTypeCode": "WITH_NEXT_PAYMENT"
}
Sample response
Below you find an example response body to the API call above.
Result
A new fee booking ID-1017
was created.
Last updated
Was this helpful?