done with liencheck

This commit is contained in:
lennyaiko
2025-03-27 12:25:26 +01:00
parent 99420f37c0
commit d5a749470c
2 changed files with 38 additions and 0 deletions
+16
View File
@@ -240,3 +240,19 @@ def penal_charge():
}
return jsonify(response), 200
@loan_bp.route("/lien-check", methods=["POST"])
def lien_check():
data = request.json
api_url = f"{current_app.config['API_BASE_URL']}/LienCheck"
# response = requests.post(api_url, json=data, headers=get_headers())
# return jsonify(response.json()), response.status_code
response = {
"lienAmount": 20000,
"resultCode": "00",
"resultDescription": "Successful",
}
return jsonify(response), 200