Files
digifi-BankEmulator/app/swagger/schemas/CompleteRACcheckRequest.json
Azeez Muibi a5ef85d331 simulator
2025-05-06 10:55:52 +01:00

110 lines
2.9 KiB
JSON

{
"type": "object",
"required": ["transactionId", "customerId", "accountId", "RAC_Array"],
"properties": {
"transactionId": {
"type": "string",
"description": "Unique identifier of transaction. This transaction Id must be consistent across all platforms",
"example": "T001"
},
"fbnTransactionId": {
"type": "string",
"description": "FirstBank transaction ID",
"example": "Tr201712RK9232P115"
},
"customerId": {
"type": "string",
"description": "Unique identifier of a user",
"example": "CN621868"
},
"accountId": {
"type": "string",
"description": "Specific identifier of a user's account",
"example": "2017821799"
},
"RAC_Array": {
"type": "object",
"description": "Risk Acceptance Criteria array",
"properties": {
"Salary account": {
"type": "string",
"description": "Has Salary account or Not",
"example": "1"
},
"BVN": {
"type": "string",
"description": "BVN Ok",
"example": "1"
},
"BVN attached to account": {
"type": "string",
"description": "BVN attached to account",
"example": "1"
},
"CRC": {
"type": "string",
"description": "No Delinquent loan",
"example": "1"
},
"CRMS": {
"type": "string",
"description": "No Delinquent loan",
"example": "1"
},
"Account status": {
"type": "string",
"description": "Has 'Regular' account status",
"example": "1"
},
"Lien": {
"type": "string",
"description": "No Lien on account",
"example": "1"
},
"No bounced check": {
"type": "string",
"description": "No Bounced (Ever?)",
"example": "1"
},
"Whitelist": {
"type": "string",
"description": "False if blacklisted",
"example": "1"
},
"No Past Due Salary Loan": {
"type": "string",
"description": "No Past Due Salary Loan",
"example": "1"
},
"No Past Due Other Loans": {
"type": "string",
"description": "No Past Due Other Loans",
"example": "1"
}
}
}
},
"example": {
"transactionId": "T001",
"fbnTransactionId": "Tr201712RK9232P115",
"customerId": "CN621868",
"accountId": "2017821799",
"RAC_Array": {
"Salary account": "1",
"BVN": "1",
"BVN attached to account": "1",
"CRC": "1",
"CRMS": "1",
"Account status": "1",
"Lien": "1",
"No bounced check": "1",
"Whitelist": "1",
"No Past Due Salary Loan": "1",
"No Past Due Other Loans": "1"
}
},
"xml": {
"name": "CompleteRACcheckRequest"
}
}