done with repayment
This commit is contained in:
+49
@@ -163,3 +163,52 @@ paths:
|
||||
responses:
|
||||
200:
|
||||
description: A successful response
|
||||
/loans/repayment:
|
||||
post:
|
||||
summary: Repays a loan
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
requestId:
|
||||
type: string
|
||||
example: "R02802"
|
||||
countryCode:
|
||||
type: string
|
||||
example: "NGR"
|
||||
transactionId:
|
||||
type: string
|
||||
example: "Tr201712RK9232P115"
|
||||
debtId:
|
||||
type: string
|
||||
example: "273194670"
|
||||
customerId:
|
||||
type: string
|
||||
example: "CN621868"
|
||||
accountId:
|
||||
type: string
|
||||
example: "2017821799"
|
||||
productId:
|
||||
type: string
|
||||
example: "101"
|
||||
collectedAmount:
|
||||
type: integer
|
||||
example: 80000
|
||||
penalCharge:
|
||||
type: integer
|
||||
example: 0
|
||||
collectionMethod:
|
||||
type: integer
|
||||
example: 1
|
||||
lienAmount:
|
||||
type: integer
|
||||
example: 80000
|
||||
comment:
|
||||
type: string
|
||||
example: "Testing CollectionLoanRequest"
|
||||
responses:
|
||||
200:
|
||||
description: A successful response
|
||||
|
||||
Reference in New Issue
Block a user