[add]: Simbrella integration
This commit was merged in pull request #2.
This commit is contained in:
@@ -6,7 +6,7 @@ class SimbrellaClient:
|
||||
BASE_URL = settings.SIMBRELLA_BASE_URL
|
||||
|
||||
@staticmethod
|
||||
def rac_check(customer_id, account_id, transaction_id, country_code, msisdn):
|
||||
def rac_check(customer_id, account_id, transaction_id):
|
||||
"""
|
||||
Calls the RACCheck endpoit
|
||||
"""
|
||||
@@ -16,8 +16,21 @@ class SimbrellaClient:
|
||||
"customerId": customer_id,
|
||||
"accountId": account_id,
|
||||
"transactionId": transaction_id,
|
||||
"countryCode": country_code,
|
||||
"msisdn": msisdn
|
||||
"RAC_Array": [
|
||||
{
|
||||
"salaryAccount": True,
|
||||
"bvn": "12345678901",
|
||||
"crc": False,
|
||||
"crms": True,
|
||||
"accountStatus": "active",
|
||||
"lien": False,
|
||||
"noBouncedCheck": True,
|
||||
"existingLoan": False,
|
||||
"whitelist": True,
|
||||
"noPastDueSalaryLoan": True,
|
||||
"noPastDueOtherLoans": False
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user