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

108 lines
3.6 KiB
JSON

{
"type": "object",
"properties": {
"transactionId": {
"type": "string",
"description": "Unique identifier of transaction in Simbrella system",
"example": "T001"
},
"customerId": {
"type": "string",
"description": "Unique identifier of a user",
"example": "CN621868"
},
"accountId": {
"type": "string",
"description": "Specific identifier of a user's account",
"example": "2017821799"
},
"RACResponse": {
"type": "object",
"description": "Object containing binary responses for each RAC check",
"properties": {
"Salary account": {
"type": "string",
"description": "Has Salary account or Not (1 = Yes, 0 = No)",
"example": "1"
},
"BVN": {
"type": "string",
"description": "BVN Ok (1 = Yes, 0 = No)",
"example": "1"
},
"BVNAttachedToAccount": {
"type": "string",
"description": "BVN attached to account (1 = Yes, 0 = No)",
"example": "1"
},
"CRMS": {
"type": "string",
"description": "No Delinquent loan in CRMS (1 = Yes, 0 = No)",
"example": "1"
},
"CRC": {
"type": "string",
"description": "No Delinquent loan in CRC (1 = Yes, 0 = No)",
"example": "1"
},
"AccountStatus": {
"type": "string",
"description": "Has 'Regular' account status (1 = Yes, 0 = No)",
"example": "1"
},
"Lien": {
"type": "string",
"description": "No Lien on account (1 = Yes, 0 = No)",
"example": "1"
},
"NoBouncedCheck": {
"type": "string",
"description": "No Bounced Check (1 = Yes, 0 = No)",
"example": "1"
},
"Whitelist": {
"type": "string",
"description": "Not blacklisted (1 = Yes, 0 = No)",
"example": "1"
},
"NoPastDueSalaryLoan": {
"type": "string",
"description": "No Past Due Salary Loan (1 = Yes, 0 = No)",
"example": "1"
},
"NoPastDueOtherLoan": {
"type": "string",
"description": "No Past Due Other Loans (1 = Yes, 0 = No)",
"example": "1"
}
},
"required": [
"Salary account",
"BVNAttachedToAccount",
"CRC",
"CRMS",
"AccountStatus",
"Lien",
"NoBouncedCheck",
"Whitelist",
"NoPastDueSalaryLoan",
"NoPastDueOtherLoan"
]
},
"resultDescription": {
"type": "string",
"description": "Description of provided result code",
"example": "RAC Check Successful"
}
},
"required": [
"transactionId",
"customerId",
"accountId",
"RACResponse",
"resultDescription"
],
"xml": {
"name": "RACCheckResponse"
}
}