[add]: Balance Check
This commit is contained in:
@@ -56,6 +56,22 @@ def rac_check():
|
||||
except Exception as e:
|
||||
logger.exception("Unhandled exception in /RACCheck route")
|
||||
return jsonify({"message": "Unhandled server error"}), 500
|
||||
|
||||
|
||||
|
||||
# RACCheck Endpoint
|
||||
@api.route('/VerifyAccountBalance', methods=['POST'])
|
||||
@jwt_required()
|
||||
def verify_account_balance():
|
||||
logger.info("VerifyAccountBalance request received")
|
||||
try:
|
||||
logger.info("VerifyAccountBalance inside try request received")
|
||||
data = request.get_json()
|
||||
response = VerifyAccountBalanceService.process_request(data)
|
||||
return response
|
||||
except Exception as e:
|
||||
logger.exception("Unhandled exception in /VerifyAccountBalance route")
|
||||
return jsonify({"message": "Unhandled server error"}), 500
|
||||
|
||||
# CompleteRACcheck Endpoint
|
||||
@api.route('/CompleteRACcheck', methods=['POST'])
|
||||
|
||||
Reference in New Issue
Block a user