{
"webhook_event": "loan.repaid",
"loan": {
"_id": "<loanId>",
"borrower": "<userId>",
"creditor": "<organisationId>",
"amount": "<number>",
"repayment_amount": "<number>",
"repayment_date": "<string>",
"interest_rate": "<number>",
"duration": "<number>",
"grace_period": "<number>",
"grace_period_unit": "<string>",
"currency": "<string>",
"status": "COMPLETED",
"reason": "<string>",
"bank_name": "<string>",
"bank_code": "<string>",
"account_number": "<string>",
"collaterals": [
{
"name": "<string>",
"token_id": "<tokenId>",
"quantity": "<number>"
}
],
"created_at": "<ISO>",
"updated_at": "<ISO>"
}
}
Events
loan.repaid
Triggered when a loan is fully repaid.
Triggered when a borrower repays a loan. Delivered to the creditor organisation.
