done with loan offers

This commit is contained in:
lennyaiko
2025-03-27 11:41:10 +01:00
parent a0fa8d30ab
commit 7fc5474f98
9 changed files with 86 additions and 7 deletions
+37
View File
@@ -58,3 +58,40 @@ paths:
responses:
200:
description: A successful response
/loans/select-offer:
post:
summary: Selects an offer for a loan
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
requestId:
type: string
example: "202111170001371256908"
transactionId:
type: string
example: "1231231321232"
customerId:
type: string
example: "1256907"
accountId:
type: string
example: "5948306019"
msisdn:
type: string
example: "123456789"
requestedAmount:
type: integer
example: 10000
productId:
type: string
example: "101"
channel:
type: string
example: "USSD"
responses:
200:
description: A successful response