curl --request POST \
--url https://spark.test.woodcore.co/api/v2/loans/{loanId}/waiveInterest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": "Waiving interest for loan.",
"transactionAmount": "12000",
"transactionDate": "8 May 2023"
}
'{}curl --request POST \
--url https://spark.test.woodcore.co/api/v2/loans/{loanId}/waiveInterest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"comment": "Waiving interest for loan.",
"transactionAmount": "12000",
"transactionDate": "8 May 2023"
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"10"
{}
The response is of type object.