done with refresh disbursement service

This commit is contained in:
2025-04-14 14:00:14 +01:00
parent 026d65bb34
commit cc48c8dbb8
2 changed files with 30 additions and 11 deletions
+5 -2
View File
@@ -10,7 +10,7 @@ autocall_bp = Blueprint("autocall", __name__)
@autocall_bp.route("/refresh-verify-disbursement", methods=["GET"])
def verify_transaction():
data = request.json()
logger.info(f"Calling Verify Components")
logger.info(f"Calling VerifyTransaction Components")
response = SimbrellaClient.verify_transaction(data)
@@ -20,7 +20,10 @@ def verify_transaction():
def disbursement():
data = request.json()
logger.info(f"Calling Disbursement Components")
return jsonify(data), 200
response = SimbrellaClient.verify_transaction(data)
return jsonify(response), 200
@autocall_bp.route("/payment-callback", methods=["POST"])