Updated Swagger Documentation
This commit is contained in:
@@ -3,62 +3,93 @@
|
||||
"properties": {
|
||||
"resultCode": {
|
||||
"type": "string",
|
||||
"description": "Result code of executed transaction, e.g. (00 – Success etc.) see result codes table",
|
||||
"example": "00"
|
||||
},
|
||||
"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": [
|
||||
"resultCode",
|
||||
"RACResponse",
|
||||
"resultDescription"
|
||||
],
|
||||
"xml": {
|
||||
"name": "RACCheckResponse"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user