commited loan date

This commit was merged in pull request #18.
This commit is contained in:
Chinenye Nmoh
2025-06-03 17:14:02 +01:00
parent 2872f6c75c
commit 15e012c071
3 changed files with 47 additions and 23 deletions
+17 -3
View File
@@ -19,9 +19,23 @@ def verify_transaction():
def disbursement():
# data = request.json()
logger.info(f"Calling Disbursement Components")
response = SimbrellaClient.verify_transaction()
data = {
"requestId": "TRX1747399791142408",
"transactionId": "TRX1747399791142408",
"FbnTransactionId":"TRX1747399791142408",
"debtId": "9451",
"customerId": "CUC1696296013",
"accountId": "ACC8112865094",
"productId": "AMPC",
"provideAmount": 6600.0,
"collectAmountInterest": 198.0,
"collectAmountMgtFee": 66.0,
"collectAmountInsurance": 66.0,
"collectAmountVAT": 4.95,
"countryId": "01",
"comment": "Loan Disbursement"
}
response = SimbrellaClient.disburse_loan(data)
return response