done with collect loan

This commit is contained in:
lennyaiko
2025-03-27 12:18:18 +01:00
parent a352449800
commit 0d4643c8df
2 changed files with 74 additions and 0 deletions
+49
View File
@@ -308,3 +308,52 @@ paths:
responses:
200:
description: A successful response
/loans/collect-loan:
post:
summary: Collect loan from a customer
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
transactionId:
type: string
example: "T002"
fbnTransactionId:
type: string
example: "Tr201712RK9232P115"
debtId:
type: string
example: "273194670"
customerId:
type: string
example: "CN621868"
accountId:
type: string
example: "2017821799"
productId:
type: string
example: "101"
collectAmount:
type: integer
example: 80000
penalCharge:
type: integer
example: 0
collectionMethod:
type: integer
example: 1
lienAmount:
type: integer
example: 80000
countryId:
type: string
example: "01"
comment:
type: string
example: "Testing CollectionLoanRequest"
responses:
200:
description: A successful response