If the loan application has never been completed yet, the cancellation order should be sent on the loan application. There is no loan existing yet.
When the loan application gets completed, a loan is created, and the cancellation of the customer request should be sent on the loan level
See APIs for available features