[add]: Swagger Documentation
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"transactionId": {
|
||||
"type": "string",
|
||||
"example": "T001"
|
||||
},
|
||||
"fbnTransactionId": {
|
||||
"type": "string",
|
||||
"example": "Tr201712RK9232P115"
|
||||
},
|
||||
"customerId": {
|
||||
"type": "string",
|
||||
"example": "CN621868"
|
||||
},
|
||||
"accountId": {
|
||||
"type": "string",
|
||||
"example": "2017821799"
|
||||
},
|
||||
"RAC_Array": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"salaryAccount": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"bvn": {
|
||||
"type": "string",
|
||||
"example": "12345678901"
|
||||
},
|
||||
"crc": {
|
||||
"type": "boolean",
|
||||
"example": false
|
||||
},
|
||||
"crms": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"accountStatus": {
|
||||
"type": "string",
|
||||
"example": "active"
|
||||
},
|
||||
"lien": {
|
||||
"type": "boolean",
|
||||
"example": false
|
||||
},
|
||||
"noBouncedCheck": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"existingLoan": {
|
||||
"type": "boolean",
|
||||
"example": false
|
||||
},
|
||||
"whitelist": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"noPastDueSalaryLoan": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"noPastDueOtherLoans": {
|
||||
"type": "boolean",
|
||||
"example": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"example": [
|
||||
{
|
||||
"salaryAccount": true,
|
||||
"bvn": "12345678901",
|
||||
"crc": false,
|
||||
"crms": true,
|
||||
"accountStatus": "active",
|
||||
"lien": false,
|
||||
"noBouncedCheck": true,
|
||||
"existingLoan": false,
|
||||
"whitelist": true,
|
||||
"noPastDueSalaryLoan": true,
|
||||
"noPastDueOtherLoans": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"xml": {
|
||||
"name": "RACCheckRequest"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user