Files
digifi-swagger/schemas/RepaymentRequest.json
T
2025-03-24 17:27:33 +01:00

52 lines
1.5 KiB
JSON

{
"type": "object",
"required": [
"$type",
"transactionId",
"customerId",
"debtId",
"productId",
"channel"
],
"properties": {
"$type": {
"type": "string",
"description": "Fixed value to identify request type",
"example": "RepaymentRequest"
},
"msisdn": {
"type": "string",
"description": "User's mobile number in an international format",
"example": "3451342"
},
"debtId": {
"type": "string",
"description": "Debt identifier provided in 'Current Loans' response",
"example": "273194670"
},
"productId": {
"type": "string",
"description": "Identifier of a product that user is repaying for",
"example": "101"
},
"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"
},
"channel": {
"type": "string",
"description": "Request channel: USSD or APP",
"enum": ["USSD", "APP"],
"example": "USSD"
}
},
"xml": {
"name": "RepaymentRequest"
}
}