progress on stuff

This commit is contained in:
lennyaiko
2025-03-27 11:48:29 +01:00
parent 7fc5474f98
commit cf561728cb
2 changed files with 118 additions and 0 deletions
+68
View File
@@ -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