60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"type": "object",
|
|
"required": [
|
|
"requestId",
|
|
"transactionId",
|
|
"customerId",
|
|
"accountId",
|
|
"msisdn",
|
|
"requestedAmount",
|
|
"productid",
|
|
"channel"
|
|
],
|
|
"properties": {
|
|
"requestId": {
|
|
"type": "string",
|
|
"description": "Unique identifier of request",
|
|
"example": "202111170001371256908"
|
|
},
|
|
"transactionId": {
|
|
"type": "string",
|
|
"description": "Unique ID of customer's USSD session. Must be consistent throughout whole USSD journey",
|
|
"example": "1231231321232"
|
|
},
|
|
"customerId": {
|
|
"type": "string",
|
|
"description": "Unique identifier of a customer",
|
|
"example": "1256907"
|
|
},
|
|
"accountId": {
|
|
"type": "string",
|
|
"description": "Specific identifier of a user's account",
|
|
"example": "5948306019"
|
|
},
|
|
"msisdn": {
|
|
"type": "string",
|
|
"description": "User's mobile number in an international format",
|
|
"example": "123456789"
|
|
},
|
|
"requestedAmount": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"description": "Amount of loan requested by user",
|
|
"example": 10000.0
|
|
},
|
|
"productid": {
|
|
"type": "string",
|
|
"description": "Product ID",
|
|
"example": "101"
|
|
},
|
|
"channel": {
|
|
"type": "string",
|
|
"description": "Channel of incoming request",
|
|
"enum": ["USSD", "MobApp", "Web"],
|
|
"example": "USSD"
|
|
}
|
|
},
|
|
"xml": {
|
|
"name": "SelectOfferRequest"
|
|
}
|
|
} |