add endpoint for penal charge

This commit is contained in:
2025-04-17 17:26:59 +01:00
parent d2e272e44b
commit 0bc71f8108
4 changed files with 68 additions and 6 deletions
+12 -1
View File
@@ -71,7 +71,6 @@ class SimbrellaClient:
except Exception as e:
logger.info(f"Failed to call Disbursement endpoint: {e}")
#raise
return 0
return 1
@@ -150,6 +149,18 @@ class SimbrellaClient:
return data
except Exception as e:
logger.info(f"Failed to call Payment Callback endpoint: {e}")
raise
@staticmethod
def penal_charge(data):
try:
logger.info(f"Here is your Penal Charge Request data ***** : {data}")
return data
except Exception as e:
logger.info(f"Failed to call Payment Callback endpoint: {e}")
raise