Updated Docs

This commit is contained in:
Azeez Muibi
2025-03-26 14:48:32 +01:00
parent 9ed359d307
commit 183c1bf46f
59 changed files with 2513 additions and 390 deletions
@@ -0,0 +1,72 @@
{
"type": "object",
"properties": {
"requestId": {
"type": "string",
"description": "Unique identifier of request",
"example": "202111170001371256908"
},
"transactionId": {
"type": "string",
"description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms",
"example": "Tr201712RK9232P115"
},
"customerId": {
"type": "string",
"description": "Unique identifier of a customer",
"example": "CN621868"
},
"accountId": {
"type": "string",
"description": "Specific identifier of a user's account",
"example": "ACN8263457"
},
"msisdn": {
"type": "string",
"description": "User's mobile number in an international format",
"example": "3451342"
},
"productId": {
"type": "string",
"description": "Identifier of a product chosen by user",
"example": "101"
},
"requestedAmount": {
"type": "number",
"format": "double",
"description": "Amount of loan that requested by user",
"example": 900
},
"collectionType": {
"type": "integer",
"description": "Type of collection that user is preferred. 0 as soon as salary inflow occurs; 1- as soon as any new inflow occurs, 1 collection after XX days.",
"enum": [0, 1],
"example": 1
},
"offerId": {
"type": "integer",
"description": "Offer ID of the loan selected by Customer",
"example": 1127
},
"channel": {
"type": "string",
"description": "Request channel: “USSD” or “MobileApp” or “Web” - Reference Channel types",
"enum": ["USSD", "MobileApp", "Web"],
"example": "100"
}
},
"required": [
"$type",
"transactionId",
"customerId",
"accountId",
"productId",
"requestedAmount",
"collectionType",
"offerId",
"channel"
],
"xml": {
"name": "ProvideLoanRequest"
}
}