made loan data dynamic and populated result fields
This commit was merged in pull request #19.
This commit is contained in:
+12
-13
@@ -19,23 +19,22 @@ def verify_transaction():
|
||||
def disbursement():
|
||||
# data = request.json()
|
||||
logger.info(f"Calling Disbursement Components")
|
||||
data = {
|
||||
"requestId": "TRX1747399791142408",
|
||||
"transactionId": "TRX1747399791142408",
|
||||
"FbnTransactionId":"TRX1747399791142408",
|
||||
"debtId": "9451",
|
||||
"customerId": "CUC1696296013",
|
||||
"accountId": "ACC8112865094",
|
||||
"productId": "AMPC",
|
||||
"provideAmount": 6600.0,
|
||||
"collectAmountInterest": 198.0,
|
||||
""" data = {
|
||||
"transactionId": "TRX1749033507722975",
|
||||
"FbnTransactionId":"TRX1748643654575327",
|
||||
"debtId": "94696900",
|
||||
"customerId": "CID00000559140T",
|
||||
"accountId": "ACC20267810160T",
|
||||
"productId": "3MPC",
|
||||
"provideAmount": 10000.0,
|
||||
"collectAmountInterest": 19.0,
|
||||
"collectAmountMgtFee": 66.0,
|
||||
"collectAmountInsurance": 66.0,
|
||||
"collectAmountVAT": 4.95,
|
||||
"collectAmountVAT": 75.00,
|
||||
"countryId": "01",
|
||||
"comment": "Loan Disbursement"
|
||||
}
|
||||
response = SimbrellaClient.disburse_loan(data)
|
||||
}"""
|
||||
response = SimbrellaClient.disburse_loan()
|
||||
return response
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user