Update eligibility_check.py

This commit is contained in:
VivianDee
2025-05-30 08:25:40 -04:00
parent d1b8d15f31
commit 10138f66f3
+20
View File
@@ -76,6 +76,26 @@ class EligibilityCheckService(BaseService):
# Handle this error response
# 2025-05-29 16:23:18,685 - INFO - This is Response (Eligibility Check): {'data': None, 'responseCode': '04', 'responseMessage': 'Error!, Invalid Account Id or Customer Id supplied'}
# {
# "data": {
# "customerId": "244011885",
# "accountId": "TE45702360",
# "transactionId": "250526144645534567CC3B01",
# "racResponse": {
# "hasSalaryAccount": true,
# "bvnValidated": true,
# "crmsCheck": true,
# "creditBureauCheck": true,
# "hasPastDueLoan": true,
# "hasLien": true,
# "accountStatus": true,
# "noBouncedCheck": true,
# "isWhitelisted": true
# }
# },
# "responseCode": "00",
# "responseMessage": "Operation Successful"
# }
rac_check = RACCheck.add_rac_check(
customer_id = customer_id,