progress on stuff
This commit is contained in:
+68
@@ -95,3 +95,71 @@ paths:
|
||||
responses:
|
||||
200:
|
||||
description: A successful response
|
||||
/loans/provide-loan:
|
||||
post:
|
||||
summary: Provides a loan
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
requestId:
|
||||
type: string
|
||||
example: "202111170001371256908"
|
||||
transactionId:
|
||||
type: string
|
||||
example: "Tr201712RK9232P115"
|
||||
customerId:
|
||||
type: string
|
||||
example: "CN621868"
|
||||
accountId:
|
||||
type: string
|
||||
example: "ACN8263457"
|
||||
msisdn:
|
||||
type: string
|
||||
example: "3451342"
|
||||
productId:
|
||||
type: string
|
||||
example: "101"
|
||||
requestedAmount:
|
||||
type: integer
|
||||
example: 900
|
||||
collectionType:
|
||||
type: integer
|
||||
example: 1
|
||||
offerId:
|
||||
type: integer
|
||||
example: 1127
|
||||
channel:
|
||||
type: string
|
||||
example: "100"
|
||||
responses:
|
||||
200:
|
||||
description: A successful response
|
||||
/loans/status:
|
||||
post:
|
||||
summary: Returns the status of a loan
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
transactionId:
|
||||
type: string
|
||||
example: "Tr201712RK9232P115"
|
||||
customerId:
|
||||
type: string
|
||||
example: "CN621868"
|
||||
msisdn:
|
||||
type: string
|
||||
example: "3451342"
|
||||
channel:
|
||||
type: string
|
||||
example: "100"
|
||||
responses:
|
||||
200:
|
||||
description: A successful response
|
||||
|
||||
Reference in New Issue
Block a user