Files
digifi-swagger/schemas/ProvideLoanRequest.json
T
Azeez Muibi 730d97fafa Updated Docs
2025-03-25 12:36:41 +01:00

72 lines
2.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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"
}
}